import type { IMainIO } from './defs'; import type { IOutputCallback } from '../callback'; export declare abstract class MainIO implements IMainIO { constructor(); disable(): Promise; dispose(): void; enable(): Promise; get enabled(): boolean; get isDisposed(): boolean; push(chars: string): Promise; registerSendStdinNow(sendStdinNow: IOutputCallback): void; protected _handleStdinImpl(timeoutMs: number): Promise; protected _enabled: boolean; protected _readBuffer: string; protected _sendStdinNow?: IOutputCallback; private _isDisposed; private _stdinPromise?; }