import { FontCategory, FontFamily, FontId, FontStyle, FontSubset, FontType, FontVersion, FontWeight } from "./directory.cjs"; //#region src/fontsource/types.d.ts type LooseString = T | (string & {}); type LooseNumber = T | (number & {}); type FontDelivery = 'cdn' | 'local'; type FontVariableAxes = { wght?: number | [number, number]; wdth?: number | [number, number]; slnt?: number | [number, number]; ital?: 0 | 1; [axis: string]: number | [number, number] | undefined; }; type FontConfigBase = { name: LooseString; subsets?: Array>; version?: LooseString | 'latest'; category?: LooseString; type?: LooseString; delivery?: FontDelivery; token?: string; }; type FontConfigStatic = FontConfigBase & { variable?: false; weights?: Array>; styles?: Array>; variableAxes?: never; }; type FontConfigVariable = FontConfigBase & { variable: true; variableAxes?: FontVariableAxes; weights?: never; styles?: never; }; type FontConfig = FontConfigStatic | FontConfigVariable; //#endregion export { FontConfig };