import { ITableColumn } from '../PageTable/PageTableColumn';
export type PageToolbarSortProps = {
    sort?: string;
    setSort?: (sort: string) => void;
    sortDirection?: 'asc' | 'desc';
    setSortDirection?: (sortDirection: 'asc' | 'desc') => void;
    sortOptions?: PageTableSortOption[];
};
export interface PageTableSortOption {
    label: string;
    value: string;
    type?: 'text' | 'number' | undefined;
    defaultDirection?: 'asc' | 'desc';
}
export declare function PageToolbarSort(props: PageToolbarSortProps): import("react/jsx-runtime").JSX.Element;
export declare function usePageToolbarSortOptionsFromColumns<T extends object>(tableColumns: ITableColumn<T>[]): PageTableSortOption[];
