import type { GenericParent } from 'myst-common'; /** * Lift a child from a parent node. All information on the paragraph is copied (e.g. classes) * * ``` * [ ..., {paragraph: [child1, math1, child2, child3, math2]}, ... ] * [ ..., {paragraph: [child1]}, math1, {paragraph: [child2, child3]}, math2, ... ] * ``` * * @param tree * @param parentNodeType The parent (e.g. a paragraph) * @param childNodeType The child (e.g. a list or math) */ export declare function unnestTransform(tree: GenericParent, parentNodeType: string, childNodeType: string): void; //# sourceMappingURL=unnest.d.ts.map