import * as z from "zod"; export type ErrorTData = { errors?: Array | undefined; }; export declare class ErrorT extends Error { errors?: Array | undefined; /** The original data that was passed to this error instance. */ data$: ErrorTData; constructor(err: ErrorTData); } /** @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; } //# sourceMappingURL=error.d.ts.map