export type AnthropicCitation = { type: "char_location" | "page_location" | "content_block_location" | "web_search_result_location" | "search_result_location"; citedText: string; url?: string; title?: string; encryptedIndex?: string; source?: string; fileId?: string; startCharIndex?: number; endCharIndex?: number; startBlockIndex?: number; endBlockIndex?: number; startPageNumber?: number; endPageNumber?: number; documentIndex?: number; documentTitle?: string; searchResultIndex?: number; }; /** * Validates and normalizes the current Messages API citation union. * * Citation records are provider-controlled protocol data. Returning * `undefined` for any malformed or unknown variant lets callers fail the * successful response closed instead of silently discarding attribution. */ export declare function normalizeAnthropicCitation(raw: unknown): AnthropicCitation | undefined; //# sourceMappingURL=anthropic-citations.d.ts.map