import { DynamicImportLanguageRegistration } from "shiki"; //#region src/highlighter/languages/registerCustomLanguage.d.ts /** * Register a custom language loader and optionally map it to * file names or extensions. */ declare function registerCustomLanguage(lang: string, loader: DynamicImportLanguageRegistration, /** * File names or extensions to map to this language. Use exact filenames * (e.g., "Dockerfile", "CMakeLists.txt") or extension tokens without a dot * (e.g., "proto", "foo"). Compound extensions are supported * (e.g., "blade.php"). */ extensionsOrFilenames?: string[]): void; //#endregion export { registerCustomLanguage }; //# sourceMappingURL=registerCustomLanguage.d.ts.map