import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * One of server_error, unsupported_file, or invalid_file. */ export declare const Code: { readonly ServerError: "server_error"; readonly UnsupportedFile: "unsupported_file"; readonly InvalidFile: "invalid_file"; }; /** * One of server_error, unsupported_file, or invalid_file. */ export type Code = ClosedEnum; /** * The last error associated with this vector store file. Will be null if there are no errors. */ export type VectorStoreFileError = { /** * One of server_error, unsupported_file, or invalid_file. */ code: Code; /** * A human-readable description of the error. */ message: string; }; /** @internal */ export declare const Code$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const Code$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const VectorStoreFileError$inboundSchema: z.ZodType; /** @internal */ export type VectorStoreFileError$Outbound = { code: string; message: string; }; /** @internal */ export declare const VectorStoreFileError$outboundSchema: z.ZodType; export declare function vectorStoreFileErrorToJSON(vectorStoreFileError: VectorStoreFileError): string; export declare function vectorStoreFileErrorFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=vectorstorefileerror.d.ts.map