import { z } from 'zod'; import type { BooleanSchema, ResolvedBooleanSchema } 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 BooleanZodParser = WithEncoding : SCHEMA['props'] extends { enum: [ResolvedBooleanSchema, ...ResolvedBooleanSchema[]]; } ? z.ZodUnion, [z.ZodTypeAny, ...z.ZodTypeAny[]]>> : z.ZodBoolean>>>>; export declare const booleanZodParser: (schema: BooleanSchema, options: ZodParserOptions) => z.ZodTypeAny;