import { BlockElement, RichTextElement, TextCommand, CommandParams, TextAttributes } from "../interface"; export declare function setLastTextColor(command: TextCommand): void; export declare function setLastBackgroundColor(command: TextCommand): void; export declare function getLastTextColor(): any; export declare function getLastBackgroundColor(): any; export declare function executeCommand(block: BlockElement, textElement: RichTextElement, command: TextCommand, start: number, end: number, params?: CommandParams): void; export declare function getNodeTextAttribute(textElement: RichTextElement, offset: number, options: { selectNext: boolean; }): TextAttributes;