import type { IEnableBufferedStdinCallback } from './callback_internal'; import type { ICommandLine } from './command_line'; import type { IRunContext } from './context'; import type { Termios } from './termios'; export declare class TabCompleter { readonly context: IRunContext; readonly enableBufferedStdinCallback: IEnableBufferedStdinCallback; readonly termios: Termios.Termios; /** * Note: do not use context's stdin/stdout/stderr, use context.workerIO instead. */ constructor(context: IRunContext, enableBufferedStdinCallback: IEnableBufferedStdinCallback, termios: Termios.Termios); complete(commandLine: ICommandLine): Promise; private _getPossibleCompletionsCommand; private _getPossibleCompletionsFileSystem; private _showPossibleCompletions; /** * Prompt the user */ private _yesNoPrompt; }