/** * Copyright (c) 2019-present Houfeng * @author Houfeng */ import { ITextStyle } from "../Shape/ITextStyle"; /** * Copyright (c) 2019-present Houfeng * @author Houfeng */ export declare type IEditableHandler = (command: string, value?: any) => void; export interface IEditable { toggleStyle(style: ITextStyle): void; addStyle(style: ITextStyle): void; toggleBlock(blockType: string): void; focus(): void; blur(): void; }