import { type Intent, type Submission } from '@conform-to/dom'; import { type ZodTypeAny, type ZodErrorMap, type input, type output, type ZodIssue } from 'zod'; export declare function parseWithZod(payload: FormData | URLSearchParams, options: { schema: Schema | ((intent: Intent | null) => Schema); async?: false; errorMap?: ZodErrorMap; disableAutoCoercion?: boolean; }): Submission, string[], output>; export declare function parseWithZod(payload: FormData | URLSearchParams, options: { schema: Schema | ((intent: Intent | null) => Schema); async?: false; errorMap?: ZodErrorMap; formatError: (issues: Array) => FormError; disableAutoCoercion?: boolean; }): Submission, FormError, output>; export declare function parseWithZod(payload: FormData | URLSearchParams, options: { schema: Schema | ((intent: Intent | null) => Schema); async: true; errorMap?: ZodErrorMap; disableAutoCoercion?: boolean; }): Promise, string[], output>>; export declare function parseWithZod(payload: FormData | URLSearchParams, options: { schema: Schema | ((intent: Intent | null) => Schema); async: true; errorMap?: ZodErrorMap; formatError: (issues: Array) => FormError; disableAutoCoercion?: boolean; }): Promise, FormError, output>>; export declare const conformZodMessage: { VALIDATION_SKIPPED: string; VALIDATION_UNDEFINED: string; }; //# sourceMappingURL=parse.d.ts.map