import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type ErrorT = { errors?: Array | undefined; }; /** @internal */ export declare const ErrorT$inboundSchema: z.ZodType; /** @internal */ export type ErrorT$Outbound = { errors?: Array | undefined; }; /** @internal */ export declare const ErrorT$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 ErrorT$ { /** @deprecated use `ErrorT$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ErrorT$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ErrorT$Outbound` instead. */ type Outbound = ErrorT$Outbound; } export declare function errorTToJSON(errorT: ErrorT): string; export declare function errorTFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=error.d.ts.map