export type TuiChatInputDelivery = 'next' | 'steer'; export type TuiChatInputStatus = 'queued' | 'running' | 'injecting' | 'completed' | 'cancelled' | 'failed' | 'interrupted' | 'suspended'; export interface TuiChatInput { id: string; content: string; attachments?: unknown[]; requestedDelivery: TuiChatInputDelivery; effectiveDelivery: TuiChatInputDelivery; status: TuiChatInputStatus; version: number; position?: number; error?: string; } export interface TuiChatInputState { conversationId: string; revision: number; activeRunId?: string; activeInputId?: string; inputs: TuiChatInput[]; } export declare function createEmptyChatInputState(conversationId: string): TuiChatInputState; export declare function isPendingChatInput(input: TuiChatInput): boolean; export declare function countPendingChatInputs(inputs: readonly TuiChatInput[]): number; export declare function acceptChatInputState(current: TuiChatInputState, incoming: TuiChatInputState): TuiChatInputState; export declare function findLastEditableChatInput(state: TuiChatInputState): TuiChatInput | undefined; export declare function commitDeliveredChatInput(state: TuiChatInputState, content: string): TuiChatInputState;