import type { SelfUpdateCommandPort } from '../../../../modules/cli-configuration/entities/packageVersion/selfUpdateCommand.gateway.js';
export interface SelfUpdateCliDependencies {
    execFileAsync: (command: string, args: string[]) => Promise<{
        stdout: string;
        stderr: string;
    }>;
    killProcess: (pid: number, signal: string) => void;
    spawnDaemonDelayed: (port: number | undefined, delaySec: number) => void;
}
export declare class SelfUpdateCliGateway implements SelfUpdateCommandPort {
    private readonly dependencies;
    constructor(dependencies?: SelfUpdateCliDependencies);
    runGlobalUpdate(): Promise<{
        success: boolean;
        error: string | null;
        permissionDenied: boolean;
    }>;
    restartDaemon(serverPort?: number): Promise<void>;
}
//# sourceMappingURL=selfUpdate.cli.gateway.d.ts.map