import * as z from "zod/v4"; import { AnthropicCacheControlDirective, AnthropicCacheControlDirective$Outbound } from "./anthropiccachecontroldirective.js"; import { AnthropicCitationCharLocationParam, AnthropicCitationCharLocationParam$Outbound } from "./anthropiccitationcharlocationparam.js"; import { AnthropicCitationContentBlockLocationParam, AnthropicCitationContentBlockLocationParam$Outbound } from "./anthropiccitationcontentblocklocationparam.js"; import { AnthropicCitationPageLocationParam, AnthropicCitationPageLocationParam$Outbound } from "./anthropiccitationpagelocationparam.js"; import { AnthropicCitationSearchResultLocationParam, AnthropicCitationSearchResultLocationParam$Outbound } from "./anthropiccitationsearchresultlocationparam.js"; import { AnthropicCitationWebSearchResultLocationParam, AnthropicCitationWebSearchResultLocationParam$Outbound } from "./anthropiccitationwebsearchresultlocationparam.js"; export type Citation = AnthropicCitationCharLocationParam | AnthropicCitationContentBlockLocationParam | AnthropicCitationPageLocationParam | AnthropicCitationSearchResultLocationParam | AnthropicCitationWebSearchResultLocationParam; export type AnthropicTextBlockParam = { /** * Enable automatic prompt caching. When set at the top level, the system automatically applies cache breakpoints to the last cacheable block in the request. When set on an individual content block, it marks an explicit cache breakpoint; block-level markers also work on OpenAI models that support explicit prompt caching — OpenRouter converts them to the provider's native format. */ cacheControl?: AnthropicCacheControlDirective | undefined; citations?: Array | null | undefined; text: string; type: "text"; }; /** @internal */ export type Citation$Outbound = AnthropicCitationCharLocationParam$Outbound | AnthropicCitationContentBlockLocationParam$Outbound | AnthropicCitationPageLocationParam$Outbound | AnthropicCitationSearchResultLocationParam$Outbound | AnthropicCitationWebSearchResultLocationParam$Outbound; /** @internal */ export declare const Citation$outboundSchema: z.ZodType; export declare function citationToJSON(citation: Citation): string; /** @internal */ export type AnthropicTextBlockParam$Outbound = { cache_control?: AnthropicCacheControlDirective$Outbound | undefined; citations?: Array | null | undefined; text: string; type: "text"; }; /** @internal */ export declare const AnthropicTextBlockParam$outboundSchema: z.ZodType; export declare function anthropicTextBlockParamToJSON(anthropicTextBlockParam: AnthropicTextBlockParam): string; //# sourceMappingURL=anthropictextblockparam.d.ts.map