import { z } from '@hono/zod-openapi'; import type { TEntityId } from './types/index.js'; type TSnakeToCamelCase = S extends `${infer T}_${infer U}` ? `${T}${Capitalize>}` : S; type TCamelCaseKeys = { [K in keyof T as K extends string ? TSnakeToCamelCase : K]: T[K] extends z.ZodType ? z.ZodType : T[K]; }; /** Conversions into the model types. */ export declare class ModelUtility { /** The only way into `TEntityId`. Rejects an empty string - an id that is `''` collapses a `where` to no condition. */ static toEntityId(opts: { value: string; }): TEntityId; static snakeToCamel(opts: { shape: T; }): z.ZodPipe, z.ZodTransform>>, z.ZodObject extends infer T_1 ? { -readonly [P_1 in keyof T_1]: T_1[P_1]; } : never, z.core.$strip>>; } export {}; //# sourceMappingURL=utilities.d.ts.map