import { ResourceMeta } from "../core/resource-meta";
import { UiPropertyMeta } from "../core/ui-property-meta";
import { WithIndexer } from "../../../fd-toolbox-core/types/with-indexer";
import { FieldValues, UseFormReturn } from "react-hook-form";
export declare function getRequiredFields(value: UiPropertyMeta, resourceMeta: ResourceMeta): boolean;
export declare function onValidation(resourceMeta: ResourceMeta, form: UseFormReturn, getRequiredFieldsCallback: (metas: WithIndexer<UiPropertyMeta>, resourceMeta: ResourceMeta) => UiPropertyMeta[], leftUiPropertyMetas: WithIndexer<UiPropertyMeta>, rightUiPropertyMetas: WithIndexer<UiPropertyMeta>, formValues?: FieldValues): boolean;
export declare function getFormValues<T>(form: UseFormReturn): T;
export declare function getFormField<T>(form: UseFormReturn, field: string): T;
