UNPKG

myst-to-jats

Version:
12 lines 624 B
import type { Plugin } from 'unified'; import { type GenericParent } from 'myst-common'; import { type Options } from '../types.js'; /** * This transform does the following: * - Removes hidden or removed blocks from the tree except those that are consumed as front/backmatter parts * - Removes hidden or removed outputs from the tree */ export declare function blockTransform(tree: GenericParent, opts: Options): void; export declare const blockPlugin: Plugin<[Options], GenericParent, GenericParent>; export declare function restoreBlockPartTypeTransform(tree: GenericParent): void; //# sourceMappingURL=blocks.d.ts.map