import { ChatPaneProps } from '../components/widgets/ChatPane'; import { ChatSendHandler } from '../core/services/ChatService'; export type ConnectedChatPaneProps = Omit & { /** * Handle a plain (non-slash) message. The second argument answers it — * `chat.reply(text)`, or `chat.stream()` for a streamed reply. A rejected * promise is shown as a failed reply. * * Falls back to the app-wide handler (`useChatStore().setSendHandler`, or * `initializeShell({ chat: { onSend } })`). With neither, the pane says so * rather than silently swallowing the message. */ onSend?: ChatSendHandler; }; /** * {@link ChatPane} bound to `useChatStore` and `useChatVisibilityStore`. * * Appends each submission to the transcript, then either dispatches a * registered slash command's `execute` or hands the text to `onSend`. * * Visibility belongs to whatever hosts it — a pane closes by closing the pane, * a tab by closing the tab. Register it with `chatPanel()`, or as a tab * component, and put it wherever it belongs. */ export declare const ConnectedChatPane: ({ onSend, ...props }: ConnectedChatPaneProps) => import("react/jsx-runtime").JSX.Element;