import { DocumentCommand } from 'roosterjs-editor-types'; import type { PendableFormatState } from 'roosterjs-editor-types'; /** * Names of Pendable formats */ export declare type PendableFormatNames = keyof PendableFormatState; /** * A map from pendable format name to document command */ export declare const PendableFormatCommandMap: { [key in PendableFormatNames]: DocumentCommand; }; /** * Get Pendable Format State at cursor. * @param document The HTML Document to get format state from * @returns A PendableFormatState object which contains the values of pendable format states */ export default function getPendableFormatState(document: Document): PendableFormatState;