You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
1.0 KiB
Plaintext

import { DomElement } from '../../../utils/dom-core';
import WrapListHandle from './WrapListHandle';
import JoinListHandle from './JoinListHandle';
import StartJoinListHandle from './StartJoinListHandle';
import EndJoinListHandle from './EndJoinListHandle';
import OtherListHandle from './OtherListHandle';
import { HandlerListOptions } from './ListHandle';
export declare type ContainerFragment = HTMLElement | DocumentFragment;
export declare type ListHandleClass = WrapListHandle | JoinListHandle | StartJoinListHandle | EndJoinListHandle | OtherListHandle;
export declare enum ClassType {
Wrap = "WrapListHandle",
Join = "JoinListHandle",
StartJoin = "StartJoinListHandle",
EndJoin = "EndJoinListHandle",
Other = "OtherListHandle"
}
export declare function createListHandle(classType: ClassType, options: HandlerListOptions, range?: Range): ListHandleClass;
/**
* 统一执行的接口
*/
export default class ListHandleCommand {
private handle;
constructor(handle: ListHandleClass);
getSelectionRangeElem(): DomElement;
}