/** * Unified text input component. * Normal mode: type to input buffer, Enter submits * Processing mode: same input buffer with full editing, Enter interrupts Claude * Supports Ctrl+V for clipboard image paste, Shift+Return for newlines, * and correct multi-line paste handling. * * Uses refs for buffer/cursor to ensure synchronous correctness when multiple * useInput calls fire within the same React batch (e.g. during paste). */ import React from 'react'; import type { DetectedImage } from '../../lib/image-utils.js'; export interface SlashCommand { name: string; description: string; } interface InputAreaProps { isProcessing: boolean; onSubmit: (text: string, images?: DetectedImage[]) => void; onInterjection: (text: string) => void; isOverlayActive?: boolean; contentBasePath?: string; commands?: SlashCommand[]; } export declare function InputArea({ isProcessing, onSubmit, onInterjection, isOverlayActive, contentBasePath, commands, }: InputAreaProps): React.ReactElement; export {}; //# sourceMappingURL=InputArea.d.ts.map