/** * Detect the package manager by walking up from `process.cwd()` until a * recognised lockfile is found. Walking matters because users often run the * CLI from a monorepo sub-package (e.g. `cd apps/web && bunx @levo-so/client * generate-types ...`) where the lockfile lives at the repo root. * * Lockfile precedence within a single directory (most-specific first): * bun.lock / bun.lockb → pnpm-lock.yaml → yarn.lock → package-lock.json * * `bun.lock` is the text format used by bun 1.2+; `bun.lockb` is the legacy * binary format. We check both so both generations of bun users see `bun add`. * * Falls back to `npm` if nothing is found. */ export declare const findPackageManager: () => "bun" | "pnpm" | "yarn" | "npm"; export declare const getInstallCommand: (packageManager: string) => "npm i" | "yarn add" | "pnpm add" | "bun add";