import type { InteractiveModeEvent, InteractiveModeStateHost } from "../interactive-mode-state.js";
export declare function handleAgentEvent(host: InteractiveModeStateHost & {
    init: () => Promise<void>;
    getMarkdownThemeWithSettings: () => any;
    addMessageToChat: (message: any, options?: any) => void;
    formatWebSearchResult: (content: unknown) => string;
    getRegisteredToolDefinition: (toolName: string) => any;
    checkShutdownRequested: () => Promise<void>;
    rebuildChatFromMessages: () => void;
    flushCompactionQueue: (options?: {
        willRetry?: boolean;
    }) => Promise<void>;
    showStatus: (message: string) => void;
    showError: (message: string) => void;
    updatePendingMessagesDisplay: () => void;
    updateTerminalTitle: () => void;
    updateEditorBorderColor: () => void;
    pendingMessagesContainer: {
        clear: () => void;
    };
}, event: InteractiveModeEvent): Promise<void>;
//# sourceMappingURL=chat-controller.d.ts.map