import React from 'react';
import { UseFormReturn, SubmitHandler, UseFormProps } from 'react-hook-form';
import { ZodType, ZodTypeDef } from 'zod';
export declare type FormProps<TFormValues, Schema> = {
    className?: string;
    onSubmit: SubmitHandler<TFormValues>;
    children: (methods: UseFormReturn<TFormValues>) => React.ReactNode;
    options?: UseFormProps<TFormValues>;
    id?: string;
    schema?: Schema;
    onChange?: (items: [string, unknown][], files: FileList[]) => void;
    files?: FileList[];
    customChildren?: (methods: UseFormReturn<TFormValues>) => React.ReactNode;
};
export declare const Form: <TFormValues extends Record<string, unknown> = Record<string, unknown>, Schema extends ZodType<unknown, ZodTypeDef, unknown> = ZodType<unknown, ZodTypeDef, unknown>>({ onSubmit, children, className, options, id, schema, onChange, customChildren, }: FormProps<TFormValues, Schema>) => JSX.Element;
//# sourceMappingURL=Form.d.ts.map