import Operation from "./operation"; import Editor from "../editor"; import { SelectionCustom } from "../model/selection-model"; export declare class SetSelectionOperation extends Operation { protected selection_: SelectionCustom | null; protected oldSelection_: SelectionCustom; constructor(selection: SelectionCustom | null); /** 合并两个选区op */ static merge(firstOp: SetSelectionOperation, secondOp: SetSelectionOperation): SetSelectionOperation; apply(editor: Editor): void; inverse(): SetSelectionOperation; getSelection(): SelectionCustom | null; getOldSelection(): SelectionCustom; setOldSelection(oldSelection: SelectionCustom): void; } export default SetSelectionOperation;