import type { Plugin } from 'unified'; import type { FlowContent } from 'myst-spec'; import type { GenericParent } from 'myst-common'; type Options = { /** Replace the admonition title with the first paragraph if it is all bold. */ replaceAdmonitionTitles?: boolean; }; /** * Extract header children from a possible heading node (paragraph with strong text or heading) * This function can be used by other packages to get header content for directives */ export declare function getPossibleAdmonitionHeaderChildren(possibleHeading: FlowContent): any[] | undefined; /** * Visit all admonitions and add headers if necessary */ export declare function admonitionHeadersTransform(tree: GenericParent, opts?: Options): void; export declare function admonitionQmdTransform(tree: GenericParent): void; /** * Visit all blockquote notes and add headers if necessary, support GitHub style admonitions */ export declare function admonitionBlockquoteTransform(tree: GenericParent): void; export declare const admonitionHeadersPlugin: Plugin<[Options?], GenericParent, GenericParent>; export declare const admonitionBlockquotePlugin: Plugin<[], GenericParent, GenericParent>; export declare const admonitionQmdPlugin: Plugin<[], GenericParent, GenericParent>; export {}; //# sourceMappingURL=admonitions.d.ts.map