1import { RawExpoModuleConfig, SupportedPlatform } from './types'; 2/** 3 * A class that wraps the raw config (`expo-module.json` or `unimodule.json`). 4 */ 5export declare class ExpoModuleConfig { 6 readonly rawConfig: RawExpoModuleConfig; 7 constructor(rawConfig: RawExpoModuleConfig); 8 /** 9 * Whether the module supports given platform. 10 */ 11 supportsPlatform(platform: SupportedPlatform): boolean; 12 /** 13 * Returns a list of names of Swift native modules classes to put to the generated modules provider file. 14 */ 15 iosModulesClassNames(): string[]; 16 /** 17 * Returns a list of names of Swift classes that receives AppDelegate life-cycle events. 18 */ 19 iosAppDelegateSubscribers(): string[]; 20 /** 21 * Returns a list of names of Swift classes that implement `ExpoReactDelegateHandler`. 22 */ 23 iosReactDelegateHandlers(): string[]; 24 /** 25 * Returns a podspec path defined by the module author. 26 */ 27 iosPodspecPath(): string | undefined; 28 /** 29 * Returns a list of names of Kotlin native modules classes to put to the generated package provider file. 30 */ 31 androidModulesClassNames(): string[]; 32 /** 33 * Returns serializable raw config. 34 */ 35 toJSON(): RawExpoModuleConfig; 36} 37/** 38 * Reads the config at given path and returns the config wrapped by `ExpoModuleConfig` class. 39 */ 40export declare function requireAndResolveExpoModuleConfig(path: string): ExpoModuleConfig; 41