/*!
 * Copyright (c) Microsoft. All rights reserved.
 * Licensed under the MIT license. See LICENSE file in the project.
 */
import { SortDirection } from '@datashaper/schema';
import type { ColumnClickFunction } from '../index.js';
export interface SortParameters {
    sortColumn?: string;
    sortDirection?: SortDirection;
    defaultSortColumn?: string;
    defaultSortDirection?: SortDirection;
    handleColumnHeaderClick: ColumnClickFunction;
}
export declare function useSortHandling(allowSorting: boolean, onColumnHeaderClick?: ColumnClickFunction, defaultSortColumn?: string, defaultSortDirection?: SortDirection): SortParameters;
