@mui/internal-docs-infra
Version:
MUI Infra - internal documentation creation tools.
15 lines • 558 B
TypeScript
import type { Externals } from "../../CodeHighlighter/types.js";
/**
* Generates the content for the CodeExternalsProvider file
*/
export declare function generateExternalsProviderContent(externals: Externals): string;
/**
* Creates externals provider file information.
* Returns the filename, content, and relative path for import.
* If no externals exist, returns undefined.
*/
export declare function createExternalsProvider(externals: Externals, resourcePath: string): {
relativePath: string;
fileName: string;
content: string;
} | undefined;