11 lines
611 B
TypeScript
11 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;
|