export interface ChatMessage {
    id?: string;
    role: 'user' | 'assistant' | 'system';
    content: string;
    pending?: boolean;
    elapsedMs?: number;
    agentName?: string;
}
interface AppProps {
    initialAgent?: string;
    /** Resume from disk; overrides initial empty state. */
    resumed?: {
        id: string;
        agent?: string;
        messages: ChatMessage[];
    };
    /** Stable session id — generated upstream and printed on exit so
     *  user can `agim tui --resume <id>` next time. */
    sessionId: string;
}
export declare function TuiApp({ initialAgent, resumed, sessionId }: AppProps): JSX.Element;
export {};
//# sourceMappingURL=app.d.ts.map