import { Root } from 'mdast';
import { Plugin } from 'unified';
/**
 * A remark plugin to enrich an mdast node tree by converting paragraph nodes containing only a Attachment url into Attachment nodes
 */
export declare const remarkAttachment: Plugin<[{
    prefix: string;
}], string, Root>;
/**
 * A remark plugin to simplify an mdast node tree by converting Attachment nodes back to paragraph nodes
 */
export declare function attachmentRemark(this: any): typeof convertToAttachmentLinks;
declare function convertToAttachmentLinks(tree: any): void;
export {};
