frontend/.pnpm-store/v3/files/6e/582db18ff3785378f655356eaa6cc1db441d585173a74cf17147d169189b6ebe0c7f436a4dbf10a031b30f7bc6306083bfbc01a0ad74778db101edbfc72d99

18 lines
466 B
Plaintext

import BaseStore from '../../base/store';
import { SortActionsType } from './actions';
import { Comparator, TCell } from '../../../types';
export declare type SortStoreState = {
index: number;
direction: 1 | -1;
compare?: Comparator<TCell>;
}[];
export declare class SortStore extends BaseStore<
SortStoreState,
SortActionsType
> {
getInitialState(): SortStoreState;
handle(type: any, payload: any): void;
private sortToggle;
private sortColumn;
}