import type { Interface as ReadlineInterface } from 'readline'; export type Completer = (line: string) => [string[], string]; export declare function buildCompleter(rootDir?: string): Completer; export declare const MAX_FILE_MATCHES = 50; export declare function resolveQuery(query: string, rootDir: string, homeDir?: string): { scanDir: string; leafPrefix: string; displayPrefix: string; }; export declare function fileMatchesFor(prefix: string, rootDir?: string): string[]; export interface MultiLineReaderOptions { rl: ReadlineInterface; promptFn: () => string; continuationPrompt?: string; } export declare function readInput(opts: MultiLineReaderOptions): Promise;