import type { WordMetadata } from './WordMetadata'; /** * @internal * Word Desktop content has a style tag that contains data for the lists. * So this function query that style tag and extract the data from the innerHTML, since it is not available from the HTMLStyleElement.sheet. * * The format is like: * example of style element content * @list l0:level1 { * styleTag: styleValue; * ... * } * * To extract the data: * 1. Substring the value of the style selector, using @ index and { index * 2. Substring the value of the style rules by Substring the content between { and } * 3. Split the value of the rules using ; as separator { styleTag: styleValue; styleTag1: StyleValue1 } = ['styleTag: styleValue', 'styleTag1: StyleValue1'] * 4. Split the value of the rule using : as separator: styleTag: styleValue = [styleTag, styleValue] * 5. Save data in record and only use the required information. * */ export declare function getStyleMetadata(htmlString: string): Map;