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 { ZodFormatterOptions } from './types.js'; import type { WithDecoding, WithOptional, ZodLiteralMap } from './utils.js'; export type BooleanZodFormatter = WithDecoding : SCHEMA['props'] extends { enum: [ResolvedBooleanSchema, ...ResolvedBooleanSchema[]]; } ? z.ZodUnion, [z.ZodTypeAny, ...z.ZodTypeAny[]]>> : z.ZodBoolean>>>; export declare const booleanZodFormatter: (schema: BooleanSchema, options: ZodFormatterOptions) => z.ZodTypeAny;