import { z } from 'zod'; import type { RecordSchema, TransformedValue } from '../../../../schema/index.js'; import type { Transformer } from '../../../../transformers/transformer.js'; import type { Cast } from '../../../../types/cast.js'; import type { Extends, If } from '../../../../types/index.js'; import type { Overwrite } from '../../../../types/overwrite.js'; import type { WithValidate } from '../utils.js'; import type { SchemaZodFormatter } from './schema.js'; import type { ZodFormatterOptions } from './types.js'; import type { WithOptional } from './utils.js'; type WithDecodedKeys = If, ZOD_SCHEMA, If, z.ZodEffects, TransformedValue>, ZOD_SCHEMA>>; export declare const compileKeysDecoder: (schema: RecordSchema) => (encoded: unknown) => Record; export type RecordZodFormatter = RecordSchema extends SCHEMA ? z.ZodTypeAny : WithOptional>; }, 'strip'>> : z.ZodRecord>, z.KeySchema>, SchemaZodFormatter>>>>; export declare const recordZodFormatter: (schema: RecordSchema, options?: ZodFormatterOptions) => z.ZodTypeAny; export {};