expo-modules-autolinking
Version:
Scripts that autolink Expo modules.
20 lines (19 loc) • 1.36 kB
TypeScript
import type { AutolinkingCommonArguments, AutolinkingOptions } from './commands/autolinkingOptions';
import type { ModuleDescriptor, SupportedPlatform } from './types';
export * from './types';
export * from './autolinking';
export * from './platforms';
export { type ResolutionResult, type BaseDependencyResolution, type DependencyResolution, type DependencyResolutionSource, type CachedDependenciesLinker, type CachedDependenciesSearchOptions, makeCachedDependenciesLinker, scanDependencyResolutionsForPlatform, scanExpoModuleResolutionsForPlatform, } from './dependencies';
export * from './utilities';
/** @deprecated */
export declare function mergeLinkingOptionsAsync<Options extends Partial<AutolinkingCommonArguments>>(argumentsOptions: Options): Promise<Options & AutolinkingOptions>;
interface QueryAutolinkingModulesFromProjectParams extends Partial<AutolinkingCommonArguments> {
platform: SupportedPlatform;
[extra: string]: unknown;
}
/** @deprecated */
export declare function queryAutolinkingModulesFromProjectAsync(projectRoot: string, options: QueryAutolinkingModulesFromProjectParams): Promise<ModuleDescriptor[]>;
/** @deprecated */
export declare function findProjectRootSync(cwd?: string): string;
/** @deprecated */
export declare function resolveSearchPathsAsync(searchPaths: string[] | null, cwd: string): Promise<string[]>;