type FontWeight = 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900; interface FontRegistration { /** Base family name as embedded in the font file, e.g. "Inter" */ familyName: string; /** * Optional per-weight overrides for the resolved React Native font family * string. Provide both `normal` and `italic` variants per weight. * Any omitted weight falls back to the default naming convention: * normal → `${familyName}-${weight}` (Regular → `${familyName}-Regular`) * italic → `${familyName}-${weight}Italic` (Regular → `${familyName}-Italic`) */ weights?: Partial>; } declare class CustomFontManager { private registry; /** * Register a font family. Call this once during app bootstrap, before * any component that uses the font is rendered. * * @param config - Registration config with familyName and optional weight map */ registerFont(config: FontRegistration): void; /** * Returns the family names of all registered fonts. */ getAvailableFontFamilies(): string[]; /** * Returns `true` if the given familyName has been registered as a custom font. */ isCustomFont(familyName: string): boolean; /** * Resolves the React Native font family string for a given familyName, * weight, and italic flag. * * Returns `undefined` if the font is not registered, letting React Native * fall back to the system font. */ resolveFontFamily(familyName: string, fontWeight: FontWeight, italic?: boolean): string | undefined; } export declare const customFontManager: CustomFontManager; export {}; //# sourceMappingURL=customFontManager.d.ts.map