import type { BaseSchemes } from 'rete'; import { HistoryPlugin as BaseHistoryPlugin, type HistoryAction } from 'rete-history-plugin'; import { type Writable } from 'svelte/store'; export declare class HistoryPlugin extends BaseHistoryPlugin { canRedo: Writable; canUndo: Writable; isUndoing: boolean; isRedoing: boolean; lastMoveTime: number; add(action: HistoryAction): void; execute(action: HistoryAction): void; undo(): Promise; redo(): Promise; }