import type { MetroConfig } from 'metro-config'; export interface TargetConfig { name: string; entry?: string; } export interface ScanResult { entryMap: Map; warnings: string[]; } /** * Scan each target's target.config.json / .ts / .js for RN entry fields. * Exported for tests and tooling. */ export declare function scanTargetsDirectory(projectRoot: string): ScanResult; export declare function withTargets(metroConfig: MetroConfig, options?: { projectRoot?: string; silent?: boolean; }): MetroConfig; /** @deprecated Use `withTargets` instead. */ export declare function withTargetsMetro(metroConfig: MetroConfig, options?: { projectRoot?: string; silent?: boolean; }): MetroConfig; //# sourceMappingURL=withTargets.d.ts.map