import type { InquirerReadline } from './read-line.type.mjs'; type HookStore = { rl: InquirerReadline; hooks: any[]; hooksCleanup: Array void)>; hooksEffect: Array<() => void>; index: number; handleChange: () => void; }; export declare function withHooks(rl: InquirerReadline, cb: (store: HookStore) => void): void; export declare function readline(): InquirerReadline; export declare function withUpdates any>(fn: T): (...args: Parameters) => ReturnType; type SetPointer = { get(): Value; set(value: Value): void; initialized: true; }; type UnsetPointer = { get(): void; set(value: Value): void; initialized: false; }; type Pointer = SetPointer | UnsetPointer; export declare function withPointer(cb: (pointer: Pointer) => ReturnValue): ReturnValue; export declare function handleChange(): void; export declare const effectScheduler: { queue(cb: (readline: InquirerReadline) => void): void; run(): void; }; export {};