import type { PathLike } from "node:fs"; import type { DetectLanguage } from "./detect"; /** * Detects possible languages based on the * file extension using Linguist data. */ export declare function detectByExtension(filePath: PathLike): DetectLanguage[];