import { BasePlatform } from './base.js';
export declare class DarwinInstaller extends BasePlatform {
    private user?;
    private get plistName();
    private get plistPath();
    install(): Promise<void>;
    uninstall(): Promise<void>;
    reinstall(): Promise<void>;
    start(restart?: boolean): Promise<void>;
    stop(): Promise<void>;
    restart(): Promise<void>;
    getId(): Promise<{
        uid: number;
        gid: number;
    }>;
    getPidOfPort(port: number): string | null;
    private waitForApiAndPrintInstructions;
    private checkForRoot;
    private createLaunchAgent;
}
