GT2/Ejectable/node_modules/@expo/config/build/paths/paths.d.ts

8 lines
758 B
TypeScript

import { ProjectConfig } from '../Config.types';
export declare function ensureSlash(inputPath: string, needsSlash: boolean): string;
export declare function getPossibleProjectRoot(): string;
export declare function getEntryPoint(projectRoot: string, entryFiles: string[], platforms: string[], projectConfig?: ProjectConfig): string | null;
export declare function getEntryPointWithExtensions(projectRoot: string, entryFiles: string[], extensions: string[], projectConfig?: ProjectConfig): string;
export declare function resolveFromSilentWithExtensions(fromDirectory: string, moduleId: string, extensions: string[]): string | null;
export declare function getFileWithExtensions(fromDirectory: string, moduleId: string, extensions: string[]): string | null;