/// <reference types="react" />
import { type FormFiltersDialogProps } from '../types';
export declare const useLogic: <TFieldValues extends Record<string, unknown>>({ validationSchema, defaultValues, mainFilters, quickFilters, secondaryFilters, isModalOpen, setIsModalOpen, onSubmit, form, }: FormFiltersDialogProps<TFieldValues>) => {
    modalForm: import("react-hook-form").UseFormReturn<TFieldValues, any>;
    onCloseModal: () => void;
    onResetModal: () => void;
    onSubmitModal: (submittedValues: TFieldValues) => void;
    mainFilters: ((props: {
        control: import("react-hook-form").Control<TFieldValues>;
    } & {
        isModal?: boolean | undefined;
    }) => import("react").ReactNode) | undefined;
    quickFilters: ((props: Pick<{
        control: import("react-hook-form").Control<TFieldValues>;
    }, "control">) => import("react").ReactNode) | undefined;
    secondaryFilters: ((props: {
        control: import("react-hook-form").Control<TFieldValues>;
    }) => import("react").ReactNode) | undefined;
    isModalOpen: boolean;
};
