import * as z from "zod/v4"; import * as discriminatedUnionTypes from "../types/discriminatedUnion.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { AnthropicBase64PdfSource } from "./anthropicbase64pdfsource.js"; import { AnthropicCitationsConfig } from "./anthropiccitationsconfig.js"; import { AnthropicPlainTextSource } from "./anthropicplaintextsource.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; export type AnthropicDocumentBlockSource = (AnthropicBase64PdfSource & { mediaType: "application/pdf"; }) | (AnthropicPlainTextSource & { mediaType: "text/plain"; }) | discriminatedUnionTypes.Unknown<"mediaType">; export declare const AnthropicDocumentBlockType: { readonly Document: "document"; }; export type AnthropicDocumentBlockType = ClosedEnum; export type AnthropicDocumentBlock = { citations?: AnthropicCitationsConfig | null | undefined; source: (AnthropicBase64PdfSource & { mediaType: "application/pdf"; }) | (AnthropicPlainTextSource & { mediaType: "text/plain"; }) | discriminatedUnionTypes.Unknown<"mediaType">; title: string | null; type: AnthropicDocumentBlockType; }; /** @internal */ export declare const AnthropicDocumentBlockSource$inboundSchema: z.ZodType; export declare function anthropicDocumentBlockSourceFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AnthropicDocumentBlockType$inboundSchema: z.ZodEnum; /** @internal */ export declare const AnthropicDocumentBlock$inboundSchema: z.ZodType; export declare function anthropicDocumentBlockFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=anthropicdocumentblock.d.ts.map