import { InstallMethod, PerformUpdateOptions, UpdateInstallResult, installDirectBinary, installViaPackageManager } from "./update/installers.js"; export { DEFAULT_MIRROR_BASE, ELEVATION_TIMEOUT_MS, PACKAGE_NAME, REPO, currentPlatformTarget, downloadBinary, mirrorBaseUrl } from "./update/installers.js"; export { installDirectBinary, installViaPackageManager }; export type { DownloadProgress, InstallMethod, InstallMethodType, PerformUpdateOptions, PlatformTarget, SecretRequester, UpdateElevation, UpdateInstallResult, UpdateProgress } from "./update/installers.js"; export interface DetectEnv { readonly argv1: string; readonly execPath: string; readonly platform: NodeJS.Platform; readonly home: string; npmRoot?: string; bunRoot?: string; brewPrefix?: string; scoopShimsDir?: string; } export declare function detectInstallMethod(env: DetectEnv): InstallMethod; export declare function resolveInstallEnv(): Promise; export declare function performUpdate(options: PerformUpdateOptions): Promise;