import type { TuiBackend } from './tui-backend.js'; export declare function createTuiSideChat(context: { client: Pick; conversationId: () => string; sessionVersion?: () => number; input: (title: string) => Promise; stream?: (read: () => string, cancel: () => void) => void; show: (answer: string, followUp: () => void) => void; notice: (message: string) => void; }): (initialQuestion?: string) => Promise;