import { StatePack } from "../history/statePack"; import { DeltaState } from "../history/deltaState"; import { List } from "../longan/gs.collections"; import { Process } from "../process"; import { Viewer } from "../viewer"; export declare class Command { typeName: string; protected _process: Process; protected _viewer: Viewer; protected _currentState: DeltaState; protected _isSuccessed: boolean; protected _isHistoryHandled: boolean; protected _handledCommandPack: StatePack; protected _handledCommandState: DeltaState; protected _handledStateList: List; private isCancellingHistory; onBegin: List<() => void>; onEnd: List<() => void>; onInterrupt: List<() => void>; onRestore: List<() => void>; bag: {}; get process(): Process; set process(process: Process); get viewer(): Viewer; set viewer(viewer: Viewer); get currentState(): DeltaState; set currentState(value: DeltaState); get isSuccessed(): boolean; set isSuccessed(value: boolean); get isHistoryHandled(): boolean; set isHistoryHandled(value: boolean); get handledCommandPack(): StatePack; set handledCommandPack(value: StatePack); get handledCommandState(): DeltaState; set handledCommandState(value: DeltaState); get handledStateList(): List; constructor(); begin(): void; end(): void; interrupt(): void; restore(): void; beginByState(): void; endByState(): void; interruptByState(): void; restoreByState(): void; commandOk(): void; commandCancel(): void; cancelHandledHistory(): void; }