@fumadocs/mdx-remote
Version:
The remote MDX files adapter for Fumadocs
24 lines (23 loc) • 690 B
TypeScript
import { MDXComponents } from "mdx/types";
import { TableOfContents } from "fumadocs-core/toc";
import { FC } from "react";
//#region src/render.d.ts
type MdxContent = FC<{
components?: MDXComponents;
}>;
interface Options {
scope?: Record<string, unknown>;
baseUrl?: string | URL;
jsxRuntime?: unknown;
}
declare function executeMdx(compiled: string, options?: Options): Promise<{
default: MdxContent;
toc?: TableOfContents;
}>;
declare function executeMdxSync(compiled: string, options?: Options): {
default: MdxContent;
toc?: TableOfContents;
};
//#endregion
export { executeMdx as n, executeMdxSync as r, MdxContent as t };
//# sourceMappingURL=render-C5qepAI7.d.ts.map