import { z } from 'zod'; import type { NumberSchema, ResolvedNumberSchema } from '../../../../schema/index.js'; import type { Cast } from '../../../../types/cast.js'; import type { WithValidate } from '../utils.js'; import type { ZodParserOptions } from './types.js'; import type { WithDefault, WithEncoding, WithOptional, ZodLiteralMap } from './utils.js'; export type NumberZodParser = WithEncoding : SCHEMA['props'] extends { enum: [ResolvedNumberSchema, ...ResolvedNumberSchema[]]; } ? z.ZodUnion, [z.ZodTypeAny, ...z.ZodTypeAny[]]>> : SCHEMA['props'] extends { big: true; } ? z.ZodUnion<[z.ZodNumber, z.ZodBigInt]> : z.ZodNumber>>>>; export declare const numberZodParser: (schema: NumberSchema, options?: ZodParserOptions) => z.ZodTypeAny;