import type { CssRule } from 'roosterjs-content-model-types'; /** * @internal * Removes margin properties from global CSS rules that target Word list paragraph * classes (p.MsoListParagraph, p.MsoListParagraphCxSpFirst, etc.). * * Word Desktop pastes a global stylesheet that typically includes rules like: * p.MsoListParagraph { margin: 0in; margin-bottom: .0001pt; ... } * These margins conflict with RoosterJS's own list indentation, causing double * indentation when the CSS is converted to inline styles via convertInlineCss. * * When a rule's selectors are exclusively list paragraph classes the margins are * removed in place. When a rule groups list paragraph classes with other selectors * the rule is split: the non-list selectors keep the original text, and a new rule * is inserted for the list paragraph selectors with margins stripped. * * The array is mutated in place so the changes are reflected when convertInlineCss * subsequently processes the same array reference. */ export declare function removeListParagraphMargins(globalCssRules: CssRule[]): void;