import React from 'react'; import { AgentSafetyConfig } from '../utils/agent-safety.js'; export type InkChatProps = { title?: string; model?: string; mode?: 'chat' | 'agent'; requireShellApproval?: boolean; safety?: AgentSafetyConfig; onExit?: () => void; startStreaming: (text: string, history: Array<{ role: 'user' | 'assistant'; content: string; }>, handlers: { onText: (chunk: string) => void; onTool: (evt: string) => void; onDone: () => void; }, request?: { model: string; }) => Promise; }; export declare function runInkChat(ui: React.ReactElement): import("ink").Instance; export declare const InkChat: React.FC;