import React, { RefObject } from "react";
import { SortAndFilterFields } from "../../dml/interfaces";
interface SortPopoverProp {
    params: {
        tableName: string;
        viewName: string;
    };
    initRef: RefObject<HTMLDivElement | null>;
    toggleHover: (idx: number) => void;
    hoverStatus: {
        idx: number;
    };
    fields: SortAndFilterFields[];
    view?: Record<string, any>;
    handleRefresh: () => Promise<void>;
}
export interface SortField {
    index: number;
    status: boolean;
    type: string;
    name: string;
    option: string;
    references?: Record<string, any>;
}
export declare const disallowedSortField: Set<ColumnTypes>;
declare const SortPopover: React.MemoExoticComponent<({ params, initRef, toggleHover, hoverStatus, fields, view, handleRefresh, }: SortPopoverProp) => JSX.Element>;
export default SortPopover;
