import type { Root } from 'mdast';
import { type VFile } from 'vfile';
export type Options = {
    closingPrefix: string;
    keywordPrefix: string;
    metaCommentIdentifier: string;
};
/**
 * Collapses any expanded mdat comments and removes meta comments,
 * effectively resetting the document to its pre-expansion state. No-op if no
 * mdat comments are found.
 */
export declare function mdatClean(tree: Root, file: VFile, options: Options): void;
