import type { ColumnConfig, SortDirection, SortMethod, ScrollYParams, GridThContext } from "../data-grid-types";
export declare function useColumnSort(scrollYParams: ScrollYParams, afterSort: () => void): {
    sort: (key: ColumnConfig['field'], direction: SortDirection) => void;
    execSortMethod: (direction: SortDirection, sortMethod?: SortMethod<import("../data-grid-types").RowData> | undefined) => void;
    addGridThContextToMap: (key: ColumnConfig['field'], thCtx: GridThContext) => void;
    clearAllSortState: () => void;
};
