/**
 * Interactive REPL support — extracted from cli.ts so it can be unit tested
 * without spawning a process. The actual `doRepl()` function (which uses
 * readline and spawns child processes) still lives in cli.ts; this module
 * holds the pure pieces: command registry + tab-completion logic.
 */
export declare const REPL_COMMANDS: Array<[string, string]>;
export declare const REPL_COMMAND_NAMES: string[];
/**
 * Tab-completion for the REPL. When the input starts with `/`, returns the
 * matching commands. Otherwise returns no completions (the user is typing
 * a command name without the prefix).
 *
 * @returns Tuple of [matches, originalString] per the Node readline API.
 */
export declare function replCompleter(line: string): [string[], string];
/**
 * Strip a leading `/` from a command line (so users can type either
 * `/scan` or `scan`).
 */
export declare function stripSlash(line: string): string;
/**
 * Return true if the given first token matches a known REPL command.
 * Used to validate user input and surface typos with a helpful hint.
 */
export declare function isKnownCommand(firstToken: string): boolean;
//# sourceMappingURL=cli-repl.d.ts.map