export class WDAMacProxy extends JWProxy {
    /** @type {boolean|undefined} */
    didProcessExit: boolean | undefined;
    proxyCommand(url: any, method: any, body?: null): Promise<[import("@appium/types").ProxyResponse<any>, any]>;
}
export class WDAMacServer {
    /** @type {WDAMacProxy} */
    proxy: WDAMacProxy;
    process: WDAMacProcess | null;
    serverStartupTimeoutMs: number;
    isProxyingToRemoteServer: boolean;
    isProxyReady(throwOnExit?: boolean): Promise<boolean>;
    /**
     * @typedef {Object} ProxyProperties
     *
     * @property {string} scheme - The scheme proxy to.
     * @property {string} host - The host name proxy to.
     * @property {number} port - The port number proxy to.
     * @property {string} path - The path proxy to.
     */
    /**
     * Returns proxy information where WDAMacServer proxy to.
     *
     * @param {Object} caps - The capabilities in the session.
     * @return {ProxyProperties}
     * @throws Error if 'webDriverAgentMacUrl' had invalid URL
     */
    parseProxyProperties(caps: any): {
        /**
         * - The scheme proxy to.
         */
        scheme: string;
        /**
         * - The host name proxy to.
         */
        host: string;
        /**
         * - The port number proxy to.
         */
        port: number;
        /**
         * - The path proxy to.
         */
        path: string;
    };
    /**
     *
     * @param {import('@appium/types').StringRecord} caps
     * @param {SessionOptions} [opts={}]
     */
    startSession(caps: import("@appium/types").StringRecord, opts?: SessionOptions): Promise<void>;
    stopSession(): Promise<void>;
}
export default WDA_MAC_SERVER;
export type SessionOptions = {
    reqBasePath?: string | undefined;
};
import { JWProxy } from 'appium/driver';
declare class WDAMacProcess {
    showServerLogs: boolean;
    port: number;
    host: string;
    bootstrapRoot: string;
    proc: any;
    get isRunning(): boolean;
    get pid(): any;
    listChildrenPids(): Promise<string[]>;
    cleanupProjectIfFresh(): Promise<void>;
    hasSameOpts({ showServerLogs, systemPort, systemHost, bootstrapRoot }: {
        showServerLogs: any;
        systemPort: any;
        systemHost: any;
        bootstrapRoot: any;
    }): boolean;
    init(opts?: {}): Promise<boolean>;
    stop(): Promise<void>;
    kill(): Promise<void>;
}
declare const WDA_MAC_SERVER: WDAMacServer;
//# sourceMappingURL=wda-mac.d.ts.map