///
import { FieldValues } from 'react-hook-form';
import { Fields, CustomComponents } from './types';
export interface IUseFormSettingsProps {
fields: Fields;
values?: FieldValues;
customComponents?: CustomComponents;
}
export declare function useFormSettings({ fields, values, customComponents, }: IUseFormSettingsProps): {
defaultValues: Record;
resolver: , TContext>(values: import("react-hook-form").UnpackNestedValue, context: TContext | undefined, options: import("react-hook-form").ResolverOptions) => Promise>;
setOmittedFields: import("react").Dispatch<{
name: string;
type: "omit" | "unOmit";
}>;
};
export default useFormSettings;