import { z } from "@hono/zod-openapi"; import type { ZodSchema } from "../helpers/types.ts"; declare const createErrorSchema: (schema: T) => z.ZodObject<{ success: z.ZodBoolean; error: z.ZodObject<{ issues: z.ZodArray>; message: z.ZodOptional; }, z.core.$strip>>; name: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export = createErrorSchema;