kjelsrud.dev/node_modules/@astrojs/mdx/dist/plugins.d.ts
2023-07-19 21:31:30 +02:00

10 lines
611 B
TypeScript

import type { PluggableList } from '@mdx-js/mdx/lib/core.js';
import type { AstroConfig } from 'astro';
import type { VFile } from 'vfile';
import type { MdxOptions } from './index.js';
export declare function recmaInjectImportMetaEnvPlugin({ importMetaEnv, }: {
importMetaEnv: Record<string, any>;
}): (tree: any) => void;
export declare function rehypeApplyFrontmatterExport(): (tree: any, vfile: VFile) => void;
export declare function getRemarkPlugins(mdxOptions: MdxOptions, config: AstroConfig): Promise<PluggableList>;
export declare function getRehypePlugins(mdxOptions: MdxOptions): PluggableList;