You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
592 B

export type SearchResults = {
[moduleName: string]: object;
};
export type SearchOptions = {
searchPaths: string[];
platform: 'ios' | 'android' | 'web';
silent?: boolean;
};
export type AutolinkingModule = {
resolveSearchPathsAsync(searchPaths: string[] | null, cwd: string): Promise<string[]>;
findModulesAsync(providedOptions: SearchOptions): Promise<SearchResults>;
};
/**
* Imports the `expo-modules-autolinking` package installed in the project at the given path.
*/
export declare function importExpoModulesAutolinking(projectRoot: string): AutolinkingModule;