UNPKG

640 BTypeScriptView Raw
1import { ExpoConfig } from './Config.types';
2export declare function resolveModule(request: string, projectRoot: string, exp: Pick<ExpoConfig, 'nodeModulesPath'>): string;
3export declare function projectHasModule(modulePath: string, projectRoot: string, exp: Pick<ExpoConfig, 'nodeModulesPath'>): string | undefined;
4export declare function moduleNameFromPath(modulePath: string): string;
5export declare function fileExistsAsync(file: string): Promise<boolean>;
6export declare function fileExists(file: string): boolean;
7export declare function getRootPackageJsonPath(projectRoot: string, exp: Pick<ExpoConfig, 'nodeModulesPath'>): string;