fumadocs-core
Version:
The React.js library for building a documentation website
10 lines • 563 B
TypeScript
import { ElementType, ReactElement } from "react";
/**
* Browser stub: Markdown rendering is server-only, components generated by
* `remarkLLMs` with `output: 'function'` render `null` in the browser.
*/
export declare function asMarkdown(): boolean;
export declare function jsxComponents(components: Record<string, ElementType> | undefined): Record<string, ElementType>;
export declare function renderToMarkdown(): Promise<string>;
export declare function renderRoute(_element: ReactElement): Promise<string | undefined>;
export declare const md: () => never;