import type { ModelMessage } from 'ai';
import type { AgentEvent } from './agent-run';
import type { TokenUsage } from './token-usage';
export interface RendererOptions {
    showResponse?: boolean;
    toolLabelStyle?: 'bracket' | 'compact';
}
export declare class Renderer {
    private depthMap;
    private toolCallOwner;
    protected showResponse: boolean;
    protected toolLabelStyle: 'bracket' | 'compact';
    constructor(opts?: RendererOptions);
    handleEvent(event: AgentEvent): void;
    protected resolveDepth(event: {
        agentId?: string;
        parentToolCallId?: string;
    }): number;
    protected formatInput(input: unknown): string;
    protected renderToolCall(toolName: string, input: unknown, indent: string): void;
    renderMessage(msg: ModelMessage, indent?: string): void;
}
export declare function renderFinish(result: {
    finishReason: string;
    stopCondition?: {
        name: string;
        message?: string;
    };
    error?: {
        type: string;
        message: string;
    };
    tokenUsage?: TokenUsage;
    state?: {
        contextWindowTokens?: number;
    };
    contextWindowLimit?: number;
}): void;
//# sourceMappingURL=render.d.ts.map