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 { SchemaZodParser } from './schema.js'; import type { ZodParserOptions } from './types.js'; import type { WithDefault, WithOptional } from './utils.js'; type WithEncodedKeys = If, ZOD_SCHEMA, If, z.ZodEffects, z.input>, ZOD_SCHEMA>>; export declare const compileKeysEncoder: (schema: RecordSchema) => (decoded: unknown) => Record; export type RecordZodParser = RecordSchema extends SCHEMA ? z.ZodTypeAny : WithDefault>; }, 'strip'>> : z.ZodRecord>, z.KeySchema>, SchemaZodParser>>>>>; export declare const recordZodParser: (schema: RecordSchema, options?: ZodParserOptions) => z.ZodTypeAny; export {};