first commit

This commit is contained in:
2026-03-10 16:18:05 +00:00
commit 11f9c069b5
31635 changed files with 3187747 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
import { type ConfigPlugin } from 'expo/config-plugins';
import type { Font, FontObject } from './withFonts';
export declare const withFontsAndroid: ConfigPlugin<Font[]>;
type GroupedFontObject = Record<string, FontObject['fontDefinitions']>;
export declare function groupByFamily(array: FontObject[]): GroupedFontObject;
export declare function getXmlSpecs(fontsDir: string, xmlFontObjects: GroupedFontObject): {
path: string;
xml: {
'font-family': {
$: {
'xmlns:app': string;
};
font: {
$: {
'app:font': string;
'app:fontStyle': "normal" | "italic";
'app:fontWeight': string;
};
}[];
};
};
}[];
export declare function generateFontManagerCalls(xmlFontObjects: GroupedFontObject, language: 'java' | 'kt'): string[];
export {};