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