import { Asset, Font, ReadonlyFont, ReadonlyTypeface, Typeface, TypefaceLocator, TypefaceSourceNames } from "./types.js"; export declare const customFontSelectorPrefix = "CUSTOM;"; /** @internal */ export declare class CustomFontSource { name: TypefaceSourceNames; typefaces: Typeface[]; byFamily: Map; assetsByFamily: Map; importFonts(assets: readonly Asset[]): Font[]; private isValidCustomFontAsset; inferVariantName(family: string): string; createTypeface(family: string): Typeface; private addTypeface; parseSelector(selector: string): TypefaceLocator | null; getFontBySelector(selector: string, createFont?: boolean): ReadonlyFont | undefined; getTypefaceByFamily(family: string): ReadonlyTypeface; } //# sourceMappingURL=CustomFontSource.d.ts.map