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 serializable raw config. 18 */ 19 toJSON(): RawExpoModuleConfig; 20} 21/** 22 * Reads the config at given path and returns the config wrapped by `ExpoModuleConfig` class. 23 */ 24export declare function requireAndResolveExpoModuleConfig(path: string): ExpoModuleConfig; 25