/** * useForm Hook * Manages form state and validation (API service) */ import type { FormErrors, FormValues, UseFormOptions } from './types'; export declare const useForm: ({ initialValues, onSubmit, validate, onError, }: UseFormOptions) => { values: T; errors: FormErrors; touched: Set; isSubmitting: boolean; handleChange: (e: { target: { name: string; value: unknown; }; }) => void; handleBlur: (e: { target: { name: string; }; }) => void; handleSubmit: (e?: { preventDefault?: () => void; }) => Promise; reset: () => void; setFieldValue: (name: keyof T, value: unknown) => void; setFieldError: (name: string, error: string) => void; }; export type { FormErrors, FormValues, UseFormOptions } from './types'; //# sourceMappingURL=useForm.d.ts.map