import { Recordable } from '../../type';
import { ApColumnType } from '../interface';
import { Ref } from 'vue';
export type DefaultSortOrderType = {
    colKey: string | number;
    field: string;
    order: 'descend' | 'ascend';
    [key: string]: any;
};
export declare const useTableSortedAndFiltered: (defaultSorterInfo?: DefaultSortOrderType) => {
    getColumnSFConfig: (column: ApColumnType, append?: boolean) => Recordable;
    setSF: (filters: any, sorter: any) => void;
    clearSorter: () => void;
    clearFilters: () => void;
    clearAll: () => void;
    sortedInfo: Ref<{
        [x: string]: any;
        colKey: string | number;
        field: string;
        order: "descend" | "ascend";
    } | null | undefined, DefaultSortOrderType | {
        [x: string]: any;
        colKey: string | number;
        field: string;
        order: "descend" | "ascend";
    } | null | undefined>;
    filteredInfo: Ref<any, any>;
};
