import type { DiscoveryContext, InstallOwner, SelfUpdateAdapter } from "./types.js"; export declare const SELF_UPDATE_ADAPTERS: readonly SelfUpdateAdapter[]; export declare function adapterFor(owner: InstallOwner): SelfUpdateAdapter; export declare function detectOwners(context: DiscoveryContext): Promise; export declare function throwUnownedInstallation(executablePath: string, context: DiscoveryContext, diagnostics: readonly string[]): Promise; export declare function ownerDiagnostics(owner: InstallOwner, index: number): string;