import { Maybe } from '@m4l/core';
import { KeyboardEvent } from 'react';
import { FieldValues } from 'react-hook-form';
import { FormSortFieldApplied, SortField } from '../../types';
/**
 * usePopoverSort es un hook que maneja la lógica del popoverSort
 */
declare function usePopoverSort(): {
    field: SortField;
    labelField: string;
    canRender: boolean;
    anchorEl: Maybe<HTMLElement>;
    handleKeyDownPopper: (event: KeyboardEvent<HTMLDivElement>) => void;
    handleClosePopover: () => void;
    onSubmit: (dataFieldValues: FieldValues) => Promise<void>;
    onClose: () => void;
    sortFormValue: import('../../types').FormSortValueBase;
    formSort: FormSortFieldApplied;
    popupValidationSchema: import('../../..').ValidationSchema<import('../../types').FormSortValueBase> | undefined;
    statusLoad: "initial" | "reload_values_provider" | "ready";
};
export default usePopoverSort;
//# sourceMappingURL=usePopoverSort.d.ts.map