import { JsrPackage } from "./utils.ts"; import { type PkgManagerName } from "./pkg_manager.ts"; export declare function setupNpmRc(dir: string): Promise; export declare function setupBunfigToml(dir: string): Promise; export interface BaseOptions { pkgManagerName: PkgManagerName | null; } export interface InstallOptions extends BaseOptions { mode: "dev" | "prod" | "optional"; } export declare function install(packages: JsrPackage[], options: InstallOptions): Promise; export declare function remove(packages: JsrPackage[], options: BaseOptions): Promise; export interface PublishOptions { binFolder: string; pkgJsonPath: string | null; publishArgs: string[]; canary: boolean; } export declare function publish(cwd: string, options: PublishOptions): Promise; export declare function runScript(cwd: string, script: string, options: BaseOptions): Promise; export declare function showPackageInfo(raw: string): Promise;