import type { MobilePlatform, ProjectType } from '../../../expo'; import type { DependencyProcessOptions } from './dependencies'; export type LogicalSightEntry = { kind: 'relative' | 'module'; value: string; }; type InstalledSightProject = { projectType: ProjectType; entry: LogicalSightEntry; resolvedEntryFile: string; versions: { reactNative: string; expo?: string; metro?: string; }; }; type SourceMapContext = { sourceMapBase: string; sourcePathConvention: 'filesystem' | 'expo-server-root'; }; export type InspectedSightProject = InstalledSightProject & SourceMapContext; export type InspectSightProjectOptions = { snapshotRoot: string; projectRoot: string; platform: MobilePlatform; explicitType?: ProjectType; entryFile?: string; logicalEntry?: LogicalSightEntry; }; /** Match export:embed's dotenv loading before evaluating dynamic app configuration. */ export declare function prepareProjectEnvironment(options: InspectSightProjectOptions): void; /** Runs only in the disposable snapshot child process; exported for fixture tests. */ export declare function inspectInstalledProject(options: InspectSightProjectOptions): InstalledSightProject; /** Use the same config loader as export:embed; custom Metro roots must be honored. */ export declare function inspectSourceMapContext(options: InspectSightProjectOptions, projectType: ProjectType): Promise; export declare function inspectSightProject(options: InspectSightProjectOptions, processOptions?: DependencyProcessOptions): Promise; export {};