import type { InquirerReadline } from '@inquirer/type'; export declare function withHooks(rl: InquirerReadline, cb: (cycle: (render: () => void) => void) => T): T; export declare function readline(): InquirerReadline; export declare function withUpdates R>(fn: T): (...args: Parameters) => R; 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)): void; run(): void; clearAll(): void; }; export {};