import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type DeleteDocumentRequest = { /** * The id of the document. */ documentId: string; /** * If true, performs document deletion asynchronously */ async?: boolean | null | undefined; /** * An optional partition to scope the request to. If omitted, accounts created after 1/9/2025 will have the request scoped to the default partition, while older accounts will have the request scoped to all partitions. Older accounts may opt in to strict partition scoping by contacting support@ragie.ai. Older accounts using the partitions feature are strongly recommended to scope the request to a partition. */ partition?: string | null | undefined; }; /** @internal */ export declare const DeleteDocumentRequest$inboundSchema: z.ZodType; /** @internal */ export type DeleteDocumentRequest$Outbound = { document_id: string; async?: boolean | null | undefined; partition?: string | null | undefined; }; /** @internal */ export declare const DeleteDocumentRequest$outboundSchema: z.ZodType; export declare function deleteDocumentRequestToJSON(deleteDocumentRequest: DeleteDocumentRequest): string; export declare function deleteDocumentRequestFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=deletedocument.d.ts.map