export * as Packager from "./index.js"; declare type UpdateOpts = { type: "dependencies" | "devDependencies"; cwd: string; pkgs: string[]; verbose: boolean; }; declare const NPM: { type: "npm"; add: (opts: UpdateOpts) => void; }; declare const Yarn: { type: "yarn"; add: (opts: UpdateOpts) => void; }; declare type Manager = typeof NPM | typeof Yarn; export declare function getManager(dir: string): Manager;