export interface ThreadMessageLike { content?: string; is_bot_message?: boolean; is_from_me?: boolean; } export interface InputHistoryState { entries: string[]; index: number | null; draft: string; } export type InputHistoryDirection = 'up' | 'down'; export declare function createInputHistoryState(entries: string[]): InputHistoryState; export declare function collectThreadUserInputs(messages: ThreadMessageLike[]): string[]; export declare function rememberSubmittedInput(entries: string[], value: string): string[]; export declare function moveInputHistorySelection(state: InputHistoryState, currentValue: string, direction: InputHistoryDirection): { state: InputHistoryState; value: string; };