import { ActionReturn } from "../components/content/forms/types"; import Zod, { ZodEffects, ZodTypeAny } from "zod"; import { FormFieldOption, FormFieldType } from ".."; export type AnyZodSchema = Zod.AnyZodObject | ZodEffects; export declare function parseParams(o: any, schema: any, key: string, value: any): void; export declare function processDef(def: ZodTypeAny, o: any, key: string, value: string): void; export declare function isIterable(maybeIterable: unknown): maybeIterable is Iterable; export declare function getParamsInternal(params: URLSearchParams | FormData | Record, schema: any): ActionReturn; export declare function getFormData(data: FormData, schema: T): Promise>>; export declare const isOptional: (schema: Zod.AnyZodObject, field: string) => boolean; export type InputPropType = { name: string; type: string; required?: boolean; "aria-required"?: boolean; min?: number; max?: number; minLength?: number; maxLength?: number; options?: readonly FormFieldOption[] | undefined; }; export declare function useFormInputProps(zodThing: AnyZodSchema): (entry: Readonly, options?: any) => InputPropType; export declare function getInputProps(entry: Readonly, schema: any, def: ZodTypeAny): InputPropType; //# sourceMappingURL=form-helper.d.ts.map