import React from 'react'; import { type SlashCommand } from '../slash-commands.js'; interface InputBoxProps { onSubmit: (text: string) => void; /** Run a slash command chosen from the palette. */ onCommand?: (name: string, args: string) => void; /** Command registry shown in the palette. Defaults to the built-in set. */ commands?: SlashCommand[]; /** While true the user can still type, but Enter does not send (text preserved). */ awaitingResponse?: boolean; /** Whether this input owns the keyboard (false when dashboard/modal has focus). */ focus?: boolean; /** Whether the bottom shortcuts overlay is currently shown (any key dismisses it). */ showShortcuts?: boolean; /** Toggle the shortcuts overlay (fired by '?' on an empty input). */ onToggleShortcuts?: () => void; /** Dismiss the shortcuts overlay (fired by any key while it is shown). */ onDismissShortcuts?: () => void; /** Optional turn-status line (state · time · turns · cost) rendered tight above the input. */ statusLine?: string | null; /** Optional toast message (e.g. "Copied!") shown briefly in place of the status line. */ toast?: string | null; } declare function InputBoxImpl({ onSubmit, onCommand, commands, awaitingResponse, focus, showShortcuts, onToggleShortcuts, onDismissShortcuts, statusLine, toast }: InputBoxProps): React.JSX.Element; export declare const InputBox: React.MemoExoticComponent; export {};