/** * repl/input.ts * * Handles all user input collection: * - First-turn quick-action menu (autocomplete) — persona-aware * - Subsequent turn free-text input * - Multi-line paste mode (<<<) * - Fast-paste buffer accumulation */ import type { PersonaDefinition } from "../personas.js"; /** * Read the first-turn menu selection. * Returns the cleaned user-intent string ready to send to the agent. * * When the user picks "Pick up where we left off" the persona's * `pickUpPrompt` is returned instead of the raw menu label — so * the agent receives a rich context-gathering instruction specific * to the active mode (coding, jobs, resume, …). */ export declare function readFirstTurnInput(persona: PersonaDefinition): Promise; /** Reads a single multi-line paste block. User ends with an empty Enter. */ export declare function readMultiLineInput(prefix: string): Promise; export interface InputResult { text: string; /** True when the input arrived in < 150ms (possible paste line) */ isFastLine: boolean; } /** Read a normal subsequent-turn line. Returns the raw text and timing flag. */ export declare function readNormalInput(showContinuation: boolean): Promise; //# sourceMappingURL=input.d.ts.map