import type { SelfUpdateCommandPort } from '../../modules/cli-configuration/entities/packageVersion/selfUpdateCommand.gateway.js';
export declare class StubSelfUpdateCommand implements SelfUpdateCommandPort {
    private readonly shouldSucceed;
    private readonly errorMessage;
    private readonly permissionDenied;
    constructor(shouldSucceed?: boolean, errorMessage?: string | null, permissionDenied?: boolean);
    runGlobalUpdate(): Promise<{
        success: boolean;
        error: string | null;
        permissionDenied: boolean;
    }>;
    restartDaemon(_serverPort?: number): Promise<void>;
}
//# sourceMappingURL=selfUpdate.stub.d.ts.map