1import { AndroidGradlePluginDescriptor, 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 iosModules(): 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 podspec paths defined by the module author. 26 */ 27 iosPodspecPaths(): string[]; 28 /** 29 * Returns the product module names, if defined by the module author. 30 */ 31 iosSwiftModuleNames(): string[]; 32 /** 33 * Returns whether this module will be added only to the debug configuration 34 */ 35 iosDebugOnly(): boolean; 36 /** 37 * Returns a list of names of Kotlin native modules classes to put to the generated package provider file. 38 */ 39 androidModules(): string[]; 40 /** 41 * Returns build.gradle file paths defined by the module author. 42 */ 43 androidGradlePaths(): string[]; 44 /** 45 * Returns gradle plugins descriptors defined by the module author. 46 */ 47 androidGradlePlugins(): AndroidGradlePluginDescriptor[]; 48 /** 49 * Returns serializable raw config. 50 */ 51 toJSON(): RawExpoModuleConfig; 52} 53/** 54 * Reads the config at given path and returns the config wrapped by `ExpoModuleConfig` class. 55 */ 56export declare function requireAndResolveExpoModuleConfig(path: string): ExpoModuleConfig; 57