import { KogitoEditorChannelApi } from "@kie-tools-core/editor/dist/api"; import { MessageBusClientApi } from "@kie-tools-core/envelope-bus/dist/api"; import { StateControlCommandRegistry } from "../exposedInteropApi"; export declare class DefaultStateControlCommandRegistry implements StateControlCommandRegistry { private readonly channelApi; private maxStackSize; private commands; private undoneCommands; constructor(channelApi: MessageBusClientApi); private onNewCommand; register(id: string, command: T): void; peek(): T | null; pop(): T | null; isEmpty(): boolean; getCommands(): T[]; clear(): void; setMaxSize(size: number): void; getUndoneCommands(): string[]; } //# sourceMappingURL=DefaultStateControlCommandRegistry.d.ts.map