import type { RehypePlugins, RemarkPlugins } from '@astrojs/internal-helpers/markdown'; import type { Options as AcornOpts } from 'acorn'; import type { MdxjsEsm } from 'mdast-util-mdx'; import type { PluggableList } from 'unified'; export declare function jsToTreeNode(jsString: string, acornOpts?: AcornOpts): MdxjsEsm; /** * The MDX compiler cannot resolve string-form plugins the way the `.md` pipeline can, * so drop them (with a warning) instead of letting the compiler throw. */ export declare function filterStringPlugins(plugins: RemarkPlugins | RehypePlugins | PluggableList): PluggableList;