import type { ɵAnswerAnnotations, ɵToolStepSource } from '@hashbrownai/core'; /** Owned annotation fold state. @internal */ export interface BedrockAnnotationState { readonly responseId: string; readonly toolSources: readonly ɵToolStepSource[]; readonly citations: readonly unknown[]; } /** Fresh state plus an independently owned answer annotation snapshot. @internal */ export interface BedrockAnnotationFold { readonly state: BedrockAnnotationState; readonly annotations: ɵAnswerAnnotations; } /** Starts an answer citation fold with a stable response-scoped identity. @internal */ export declare function createBedrockAnnotationState(responseId: string): BedrockAnnotationState; /** Registers proven native tool sources and remaps all existing exact-URL citations. @internal */ export declare function addBedrockToolSources(state: BedrockAnnotationState, sources: readonly ɵToolStepSource[]): BedrockAnnotationFold; /** Retains citation occurrences and emits quote-only references with independently owned metadata. @internal */ export declare function foldBedrockCitation(state: BedrockAnnotationState, delta: unknown): BedrockAnnotationFold;