import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { DocumentType } from "./documenttype.js"; export type Document = { documentID: string; /** * Types of documents that can be uploaded. */ type: DocumentType; /** * The document's MIME type. */ contentType: string; /** * Optional array of errors encountered during automated parsing. */ parseErrors?: Array | undefined; uploadedAt: Date; }; /** @internal */ export declare const Document$inboundSchema: z.ZodType; /** @internal */ export type Document$Outbound = { documentID: string; type: string; contentType: string; parseErrors?: Array | undefined; uploadedAt: string; }; /** @internal */ export declare const Document$outboundSchema: z.ZodType; export declare function documentToJSON(document: Document): string; export declare function documentFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=document.d.ts.map