import type { ReactElement } from 'react'; import type { SlashCompletion } from './slashCompletion.js'; export interface PromptInputProps { readonly text: string; readonly cursor: number; /** Columns the box has for text; the view resolves it once for keys and layout. */ readonly contentWidth: number; readonly placeholder: string; readonly hint: string; readonly completions: readonly SlashCompletion[]; readonly completionIndex: number; /** True once the terminal is handed to a selector: the box takes no more keys. */ readonly disabled: boolean; } export declare function PromptInput({ text, cursor, contentWidth, placeholder, hint, completions, completionIndex, disabled, }: PromptInputProps): ReactElement; //# sourceMappingURL=PromptInput.d.ts.map