import { AgentRenderer, LogEvent, AgentStatusEvent, ToolCallEvent, ToolResultEvent, AgentMessageEvent, AgentDoneEvent, RenderEvent } from "./types";
export declare class CompactRenderer implements AgentRenderer {
    private activeTaskId;
    private emitter;
    private paused;
    private bufferedEvents;
    setActiveTaskId(id: string | undefined): void;
    getActiveTaskId(): string | undefined;
    private isActiveTask;
    onLog(handler: (event: LogEvent) => void): void;
    onAgentStatus(handler: (event: AgentStatusEvent) => void): void;
    onToolCall(handler: (event: ToolCallEvent) => void): void;
    onToolResult(handler: (event: ToolResultEvent) => void): void;
    onAgentMessage(handler: (event: AgentMessageEvent) => void): void;
    onAgentDone(handler: (event: AgentDoneEvent) => void): void;
    pause(): void;
    resume(): void;
    render(event: RenderEvent): void;
    private _log;
    private _status;
    private _toolCall;
    private _toolResult;
    private _message;
    private _done;
    logMessages(events: RenderEvent[], count?: number): void;
}
export default CompactRenderer;
