expo-asset
Version:
An Expo universal module to download assets and pass them into other APIs
8 lines (7 loc) • 420 B
TypeScript
export declare const IMAGE_TYPES: string[];
export declare const FONT_TYPES: string[];
export declare const MEDIA_TYPES: string[];
export declare const MODEL_TYPES: string[];
export declare const ACCEPTED_TYPES: string[];
export declare function resolveAssetPaths(assets: string[], projectRoot: string): Promise<string[]>;
export declare function validateAssets(assets: string[], platform: 'android' | 'ios'): string[];