type SupportedLanguage = 'c' | 'cpp' | 'csharp' | 'go' | 'java' | 'kotlin' | 'python' | 'rust' | 'javascript' | 'javascriptreact' | 'typescript' | 'typescriptreact';
export type LanguageIdentifier = SupportedLanguage | (string & {});
export declare const SUPPORTED_LANGUAGES: LanguageIdentifier[];
export declare function isSupportedLanguage(lang: LanguageIdentifier): boolean;
/**
 * Infer the language of a file based on its filename.
 *
 * @param filename - The filename to infer the language from.
 * @returns The inferred language or undefined if the language could not be inferred.
 */
export declare function inferLanguage(filename: string): string;
export {};
