import { type Data, type Parent, type PhrasingContent } from "mdast"; import { type Data as ProcessorData } from "unified"; type MicromarkExtension = NonNullable[number]; type FromMarkdownExtension = Exclude[number], unknown[]>; interface IHighlightData extends Data { hName?: string; } /** * Highlighted phrasing, written `==text==`. */ interface IHighlight extends Parent { type: "highlight"; children: PhrasingContent[]; data?: IHighlightData; } declare module "mdast" { interface PhrasingContentMap { highlight: IHighlight; } interface RootContentMap { highlight: IHighlight; } } /** * Reads `~~text~~` into a `delete` node, which renders as ``. */ export declare function strikethrough(): { syntax: MicromarkExtension; fromMarkdown: FromMarkdownExtension; }; /** * Reads `==text==` into a `highlight` node, which renders as ``. */ export declare function highlight(): { syntax: MicromarkExtension; fromMarkdown: FromMarkdownExtension; }; export {}; //# sourceMappingURL=micromark-paired-marks.d.ts.map