import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type BatchError = { message: string; count?: number | undefined; }; /** @internal */ export declare const BatchError$inboundSchema: z.ZodType; /** @internal */ export type BatchError$Outbound = { message: string; count: number; }; /** @internal */ export declare const BatchError$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace BatchError$ { /** @deprecated use `BatchError$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `BatchError$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `BatchError$Outbound` instead. */ type Outbound = BatchError$Outbound; } export declare function batchErrorToJSON(batchError: BatchError): string; export declare function batchErrorFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=batcherror.d.ts.map