import { UseFormProps } from 'react-hook-form'; import { ZodOutput, ZodSchema } from '../types'; type AsyncDefaultValue = (payload?: unknown) => Promise; /** * Props for useZodForm hook * @template TSchema - The Zod schema type (Zod 3 or Zod 4) */ export default interface IUseZodFormProps extends Omit>, 'resolver'> { /** * Zod schema for form validation */ schema: TSchema; /** * Default values for form fields */ defaultValues?: ZodOutput | AsyncDefaultValue>; } export {};