import type { Slot } from '@blockeditor/global/utils';
import type { ILanguageRegistration, Lang } from 'shiki';
export interface selectedLanguageChangedSlots {
    selectedLanguageChanged: Slot<{
        language: string | null;
    }>;
    dispose: Slot;
}
export declare function getLanguagePriority(lang: Lang, isCurrentLanguage?: boolean): number;
/**
 * Get the standard language registration for a given language name,
 * accept both language id and aliases (by default, or set `strict` to `false`).
 *
 * If the language is plaintext, return `null`.
 */
export declare const getStandardLanguage: (languageName: string, strict?: boolean) => ILanguageRegistration | null;
//# sourceMappingURL=code-languages.d.ts.map