import type { HookCallback } from '../../../core/hooks/bucket'; import type { HotInstance } from '../../../core/types'; import { BaseAction } from './_base'; /** * Action that tracks filter changes. * * @class FiltersAction * @private */ export declare class FiltersAction extends BaseAction { /** * @param {Array} previousConditionsStack An array of the previous filter conditions. */ conditionsStack: unknown; /** * @param {Array} conditionsStack An array of the filter conditions. */ previousConditionsStack: unknown; /** * Initializes the filters action with the current and previous filter condition stacks. */ constructor({ conditionsStack, previousConditionsStack }: { conditionsStack: unknown; previousConditionsStack: unknown; }); /** * Registers the `beforeFilter` hook listener that records a new FiltersAction whenever filter conditions change. */ static startRegisteringEvents(hot: HotInstance, undoRedoPlugin: unknown): void; /** * @param {Core} hot The Handsontable instance. * @param {function(): void} undoneCallback The callback to be called after the action is undone. */ undo(hot: HotInstance, undoneCallback: HookCallback): void; /** * @param {Core} hot The Handsontable instance. * @param {function(): void} redoneCallback The callback to be called after the action is redone. */ redo(hot: HotInstance, redoneCallback: HookCallback): void; }