/**
 * SlashCommandInput — Text input with slash-command picker.
 *
 * When isActive=false (default): renders a dim hint, captures no input.
 * When isActive=true: captures all input, calls onDeactivate on submit/escape.
 *
 * Activation is controlled by the parent (ConsoleView).
 */
export interface SlashCommand {
    cmd: string;
    desc: string;
}
/**
 * Returns true when the current input value should open the slash-command
 * picker. The first whitespace-delimited word must start with '/' AND be a
 * prefix of at least one known command. This prevents file paths like
 * `/lib/config.ts` from triggering slash mode.
 */
export declare function computeIsSlashMode(value: string, commands: SlashCommand[]): boolean;
interface SlashCommandInputProps {
    commands?: SlashCommand[];
    isActive: boolean;
    initialValue?: string;
    onSubmit: (value: string) => void;
    onDeactivate: () => void;
}
export declare const SlashCommandInput: ({ commands, isActive, initialValue, onSubmit, onDeactivate, }: SlashCommandInputProps) => import("react/jsx-runtime").JSX.Element;
export {};
