import { Sort, SortValue, TableHeader } from '../models';
import { Ref } from 'vue';
export declare const useSort: (persistent?: boolean | Ref<boolean>, tableHeaders?: TableHeader[] | Ref<TableHeader[]>, defaultSort?: Sort | Ref<Sort>) => {
    sort: Ref<Sort, Sort>;
    isMounting: Ref<boolean, boolean>;
    changeSort: (header: TableHeader) => void;
    sortItems: (items: any[]) => any[];
    isSortPresentInPath: () => boolean;
};
export declare const defaultSortFunction: (valA: any, valB: any, value: SortValue) => number;
