import { OneOrMany, SourceRecord } from "../source.js"; import { Language, LanguageInfo } from "@kitschpatrol/tokei"; //#region src/lib/sources/code-stats.d.ts type CodeStatsTotals = Omit & { languages: Language[]; }; type CodeStatsFields = { /** Per-language line count perLanguage, sorted by lines of code descending. */ perLanguage?: LanguageInfo[]; /** Aggregate line counts across all languages. */ total?: CodeStatsTotals; }; export type CodeStatsData = OneOrMany> | undefined; //#endregion