import { PostSortRowsParams } from 'ag-grid-community';
interface PostSortRowsHookProps {
    setStaleGrid: (stale: boolean) => void;
}
/**
 * Retains last sort order from via <AgGrid postRowSort>.
 * Then applies this sort until next sort column change.
 * Handles stale sort, when you edit a row but don't want to re-sort.
 */
export declare const usePostSortRowsHook: ({ setStaleGrid }: PostSortRowsHookProps) => ({ api, nodes }: PostSortRowsParams) => void;
export {};
