import type { VFile } from 'vfile'; import type { Plugin } from 'unified'; import type { GenericNode, GenericParent } from 'myst-common'; export declare function blockNestingTransform(tree: GenericParent): void; export declare const blockNestingPlugin: Plugin<[], GenericParent, GenericParent>; export declare function blockMetadataTransform(mdast: GenericParent, file: VFile): void; export declare const blockMetadataPlugin: Plugin<[], GenericParent, GenericParent>; /** * If a block has a caption, nest the content in a figure with that caption */ export declare function blockToFigureTransform(mdast: GenericParent, opts?: { parser?: (caption: string) => GenericNode; }): void; //# sourceMappingURL=blocks.d.ts.map