import type { ContentModelBlockFormat, ContentModelSegmentFormat, IEditor } from 'roosterjs-content-model-types'; /** * @internal * Apply pending format to the text user just input * @param editor The editor to get format from * @param data The text user just input */ export declare function applyPendingFormat(editor: IEditor, data: string, segmentFormat?: ContentModelSegmentFormat, paragraphFormat?: ContentModelBlockFormat): void;