import { z } from '@hono/zod-openapi'; import type { ZodSchema } from '../helpers/types.js'; declare function createErrorSchema(schema: T): z.ZodObject<{ success: z.ZodBoolean; error: z.ZodObject<{ message: z.ZodArray>; message: z.ZodOptional; }, z.core.$strip>>; name: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export default createErrorSchema; //# sourceMappingURL=create-error-schema.d.ts.map