UNPKG

@mintlify/common

Version:

Commonly shared code within Mintlify

8 lines (7 loc) 447 B
import type { Root } from 'mdast'; import type { PluggableList } from 'unified'; export declare const coreRemarkMdxPlugins: PluggableList; export declare const coreRemark: import("unified").Processor<Root, undefined, undefined, Root, string>; export declare const getAST: (str: string, filePath?: string) => Root; export declare const stringifyTree: (tree: Root) => string; export declare function stripVisibilityForMarkdown(mdx: string): string;