//#region packages.d.ts type InstallConfig = { startText?: string; doneText?: string; dev?: boolean; force?: boolean; isWorkspaceRoot?: boolean; }; /** * Install a list of packages to the local project directory and add it to `package.json` * * @param packageManager - The package manager to use for installation * @param packages - An array of package specifiers to be installed * @param config.dev - Add packages as `devDependencies` * @param config.startText - Spinner start text * @param config.doneText - Spinner done text * @param config.force - Whether to install with `--force` or not */ declare const installPackages: (packageManager: "npm" | "pnpm" | "yarn" | "bun" | "nub", packages: string[], config?: InstallConfig) => Promise; /** * Installs the latest version of wrangler in the project directory if it isn't already. */ declare function installWrangler(packageManager: "npm" | "pnpm" | "yarn" | "bun" | "nub", isWorkspaceRoot: boolean): Promise; //#endregion export { installPackages, installWrangler };