declare type Props = {
    sorts: {
        key: string;
        label: string;
    }[];
    defaultSortKey: string;
    onSelect?: () => void;
};
declare type SortOptionType = {
    key: string;
    label: string;
    select: () => void;
    isDefault: boolean;
};
export declare type UseSortResults = {
    sortOptions: SortOptionType[];
    selectedSort: SortOptionType;
    resetSort: () => void;
};
export declare const useSort: ({ onSelect, sorts, defaultSortKey }: Props) => UseSortResults;
export {};
