import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { Document } from "./document.js"; export type DocumentOrError = { /** * The text for error, reason. */ error: string; }; export type DocumentOrErrorUnion = DocumentOrError | Document; /** @internal */ export declare const DocumentOrError$inboundSchema: z.ZodType; export declare function documentOrErrorFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const DocumentOrErrorUnion$inboundSchema: z.ZodType; export declare function documentOrErrorUnionFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=documentorerrorunion.d.ts.map