import type { Key as InkKey } from "ink"; import type { AdmittedChatSession } from "./session.js"; import { type ChatState, type Key, type Recipient } from "./view.js"; /** Map one Ink input event to the model's `Key`, or undefined for keys the chat does not use. */ export declare function toKey(input: string, key: InkKey): Key | undefined; export interface ChatViewProps { session: AdmittedChatSession; initialRecipient?: Recipient; /** A disclosure about the initial recipient, shown before anything else. */ notice?: string; /** Whether the terminal reports Shift+Enter distinctly. Measured by the caller, never assumed. */ shiftEnterDistinct: boolean; /** Called once with the final state after the session has been closed. */ onDone: (state: ChatState) => void; } export declare function ChatView({ session, initialRecipient, notice, shiftEnterDistinct, onDone }: ChatViewProps): import("react").JSX.Element; //# sourceMappingURL=chat-view.d.ts.map