import type { AnySchema, InferSchemaOutput } from './schema.js'; export interface ErrorDef { status?: number; message?: string; data?: AnySchema; } export type ErrorMap = Record; export type InferErrorData = D extends { data: infer S; } ? S extends AnySchema ? InferSchemaOutput : never : never; //# sourceMappingURL=errors.d.ts.map