import { z } from 'zod'; import type { ResolvedStringSchema, StringSchema } from '../../../../schema/index.js'; import type { WithValidate } from '../utils.js'; import type { ZodFormatterOptions } from './types.js'; import type { WithDecoding, WithOptional } from './utils.js'; export type StringZodFormatter = WithDecoding : SCHEMA['props'] extends { enum: [ResolvedStringSchema, ...ResolvedStringSchema[]]; } ? z.ZodEnum : z.ZodString>>>; export declare const getStringZodFormatter: (schema: StringSchema, options?: ZodFormatterOptions) => z.ZodTypeAny;