import { PJSHighlighter, SupportedLanguages } from "../types.js";
import { ResolvedLanguage } from "../worker/types.js";
import "../worker/index.js";

//#region src/highlighter/languages.d.ts
declare function getResolvedLanguages(languages: SupportedLanguages[]): ResolvedLanguage[];
declare function getResolvedOrResolveLanguage(language: Exclude<SupportedLanguages, "text">): ResolvedLanguage | Promise<ResolvedLanguage>;
declare function hasResolvedLanguages(languages: SupportedLanguages | SupportedLanguages[]): boolean;
declare function resolveLanguage(lang: Exclude<SupportedLanguages, "text">): Promise<ResolvedLanguage>;
declare function resolveLanguages(languages: SupportedLanguages[]): Promise<ResolvedLanguage[]>;
declare function attachResolvedLanguages(resolvedLanguages: ResolvedLanguage | ResolvedLanguage[], highlighter: PJSHighlighter): void;
declare function areLanguagesAttached(languages: SupportedLanguages | SupportedLanguages[]): boolean;
declare function cleanUpResolvedLanguages(): void;
//#endregion
export { areLanguagesAttached, attachResolvedLanguages, cleanUpResolvedLanguages, getResolvedLanguages, getResolvedOrResolveLanguage, hasResolvedLanguages, resolveLanguage, resolveLanguages };
//# sourceMappingURL=languages.d.ts.map