import type { IInput } from './input'; import type { IPollCallback, IStdinAsyncCallback, IStdinCallback } from '../callback_internal'; export declare class TerminalInput implements IInput { readonly pollCallback: IPollCallback; readonly stdinCallback: IStdinCallback; readonly stdinAsyncCallback: IStdinAsyncCallback; constructor(pollCallback: IPollCallback, stdinCallback: IStdinCallback, stdinAsyncCallback: IStdinAsyncCallback); get finished(): boolean; isTerminal(): boolean; poll(timeoutMs: number): boolean; readAsync(maxChars: number | null): Promise; read(maxChars: number | null): number[]; }