import React from 'react'; import type { SlashCommand } from './commands.js'; interface InputBoxProps { onSubmit: (value: string, images?: string[]) => void; disabled: boolean; blocked?: boolean; commands?: SlashCommand[]; home?: boolean; model?: string; contextPct?: number; cwd?: string; mode?: 'auto' | 'ask' | 'deny'; onModeCycle?: () => void; onExit?: () => void; onRewind?: () => boolean; onBackground?: () => void; initialHistory?: string[]; } export declare function shouldCompactPaste(text: string): boolean; export declare function makePastedPlaceholder(index: number): string; export declare function expandPastedPlaceholders(value: string, blocks: ReadonlyMap): string; export declare function extractCommandQuery(value: string): string | null; export declare function extractAtQuery(value: string): string | null; export declare function resolveCommandCompletion(commands: SlashCommand[], value: string, selected?: number): string | null; export declare function resolveFileCompletion(value: string, suggestions: string[], selected?: number): string | null; export declare function InputBox({ onSubmit, disabled, blocked, commands, home, model, contextPct, cwd, mode, onModeCycle, onExit, onRewind, onBackground, initialHistory, }: InputBoxProps): React.ReactNode; export {}; //# sourceMappingURL=InputBox.d.ts.map