import type { AutolinkingOptions } from '../../commands/autolinkingOptions'; import { type ExtraDependencies, type ModuleDescriptorIos, type ModuleIosConfig, type ModuleIosPodspecInfo, type PackageRevision, type SearchResults, type SupportedPlatform } from '../../types'; interface AppleConfigurationOutput { buildFromSource: string[]; } export declare function getConfiguration(options: AutolinkingOptions): AppleConfigurationOutput | undefined; export declare function getSwiftModuleNames(pods: ModuleIosPodspecInfo[], swiftModuleNames: string[] | undefined): string[]; /** * Scans all packages for `@ExpoModule` classes that compile for the given platform, in one scanner * run. Returns the classes by package name, or null when the scan is unavailable or fails. */ export declare function scanNativeModulesAsync(searchResults: SearchResults, platform: SupportedPlatform): Promise | null>; /** Resolves module search result with additional details required for iOS platform. */ export declare function resolveModuleAsync(packageName: string, revision: PackageRevision, extraOutput: { flags?: Record; scannedModules?: Record | null; }): Promise; export declare function resolveExtraBuildDependenciesAsync(projectNativeRoot: string): Promise; interface GenerateModulesProviderParams { watchedDirectories: string[]; inlineModulesTargets: { mainTarget?: string; targets: string[]; }; targetPath: string; targetName?: string; appRoot: string; /** Path to the installed `expo-modules-core`. The provider has `packages` only when that core supports them. */ corePath?: string | null; } /** * Returns whether the `expo-modules-core` at the given path has `ExpoPackage` and `ModulesProvider.packages`. * A provider that overrides `packages` doesn't compile against an older core, which has no `ExpoPackage.swift`. */ export declare function coreSupportsPackagesAsync(corePath: string | null | undefined): Promise; /** * Generates Swift file that contains all autolinked Swift packages. */ export declare function generateModulesProviderAsync(modules: ModuleDescriptorIos[], targetPath: string, entitlementPath: string | null, params: GenerateModulesProviderParams): Promise; /** * Formats an array of modules to Swift's array containing ReactDelegateHandlers */ export declare function formatArrayOfReactDelegateHandler(modules: ModuleDescriptorIos[]): string; export {};