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