import { QueryEntity } from '../../queryEntity'; import { EntityState, getIDType, OrArray } from '../../types'; import { EntityCollectionPlugin } from '../entityCollectionPlugin'; import { History, StateHistoryParams, StateHistoryPlugin } from './stateHistoryPlugin'; export interface StateHistoryEntityParams extends StateHistoryParams { entityIds?: OrArray; } export declare class EntityStateHistoryPlugin = StateHistoryPlugin> extends EntityCollectionPlugin { protected query: QueryEntity; protected readonly params: StateHistoryEntityParams>; constructor(query: QueryEntity, params?: StateHistoryEntityParams>); redo(ids?: OrArray>): void; undo(ids?: OrArray>): void; hasPast(id: getIDType): boolean; hasFuture(id: getIDType): boolean; jumpToFuture(ids: OrArray>, index: number): void; jumpToPast(ids: OrArray>, index: number): void; clear(ids?: OrArray>, customUpdateFn?: (history: History) => History): void; destroy(ids?: OrArray>, clearHistory?: boolean): void; ignoreNext(ids?: OrArray>): void; protected instantiatePlugin(id: getIDType): P; }