/**
 * ResponseBuilder - Create SSE events for Anthropic streaming format
 *
 * Responsibilities:
 * - Create message_start, message_delta, message_stop events
 * - Create content_block_start, content_block_delta, content_block_stop events
 * - Generate thinking signatures
 * - Map stop reasons between formats
 */
import type { DeltaAccumulator } from '../delta-accumulator';
import type { AccumulatorBlock, AnthropicSSEEvent, ThinkingSignature } from './types';
export declare class ResponseBuilder {
    private verbose;
    constructor(verbose?: boolean);
    /**
     * Create message_start event
     */
    createMessageStartEvent(accumulator: DeltaAccumulator): AnthropicSSEEvent;
    /**
     * Create content_block_start event
     */
    createContentBlockStartEvent(block: AccumulatorBlock): AnthropicSSEEvent;
    /**
     * Create thinking_delta event
     */
    createThinkingDeltaEvent(block: AccumulatorBlock, delta: string): AnthropicSSEEvent;
    /**
     * Create text_delta event
     */
    createTextDeltaEvent(block: AccumulatorBlock, delta: string): AnthropicSSEEvent;
    /**
     * Create thinking signature delta event
     */
    createSignatureDeltaEvent(block: AccumulatorBlock): AnthropicSSEEvent | null;
    /**
     * Create content_block_stop event
     */
    createContentBlockStopEvent(block: AccumulatorBlock): AnthropicSSEEvent;
    /**
     * Generate finalization events (message_delta + message_stop)
     */
    createFinalizationEvents(accumulator: DeltaAccumulator, stopReason: string): AnthropicSSEEvent[];
    /**
     * Generate thinking signature for Claude Code UI
     */
    generateThinkingSignature(thinking: string): ThinkingSignature;
    /**
     * Map OpenAI stop reason to Anthropic stop reason
     */
    mapStopReason(openaiReason: string): string;
}
//# sourceMappingURL=response-builder.d.ts.map