export type PackageManager = "npm" | "pnpm" | "yarn" | "bun"; export type Project = { dir: string; isExpo: boolean; isBare: boolean; expoSdk: number | null; packageManager: PackageManager; configKind: "app.json" | "app.config.js" | "app.config.ts" | null; configFile: string | null; expoUpdates: boolean; codePush: boolean; }; /** Reads the folder and says what kind of app it is. Changes nothing. */ export declare function detectProject(dir: string): Project; export type AdoptDeps = { install: (pm: PackageManager, pkgs: string[], dir: string, dev?: boolean) => void; installExpoModules: (dir: string) => void; confirm: (q: string) => Promise; doctor: boolean; }; /** A package.json with committed ios/ and android/ folders and no Expo config plugins or config code: a bare React Native app. */ export declare const isBareApp: (dir: string) => boolean; /** Does argv ask for adopt mode: no folder, or ".". */ export declare const isAdoptArgs: (argv: string[]) => boolean; export declare const positional: (argv: string[]) => string[]; export declare function adopt(argv: string[], dir?: string, overrides?: Partial): Promise;