///
///
///
declare type EventEmitter = (args: any) => void;
export default class MultiRemote {
instances: Record;
baseInstance?: MultiRemoteDriver;
sessionId?: string;
addInstance(browserName: string, client: WebdriverIO.BrowserObject): Promise;
modifier(wrapperClient: {
options: WebdriverIO.RemoteOptions;
commandList: string[];
}): any;
static elementWrapper(instances: Record, result: any, propertiesObject: Record): any;
commandWrapper(commandName: string): (...args: any) => Promise;
}
interface MultiRemoteClient {
(instanceName: string): WebdriverIO.BrowserObject;
}
export declare class MultiRemoteDriver implements Partial {
instances: string[];
isMultiremote: true;
__propertiesObject__: Record;
constructor(instances: Record, propertiesObject: Record);
on(this: WebdriverIO.MultiRemoteBrowserObject, eventName: string, emitter: EventEmitter): any;
once(this: WebdriverIO.MultiRemoteBrowserObject, eventName: string, emitter: EventEmitter): any;
emit(this: WebdriverIO.MultiRemoteBrowserObject, eventName: string, emitter: EventEmitter): boolean;
eventNames(this: WebdriverIO.MultiRemoteBrowserObject): any;
getMaxListeners(this: WebdriverIO.MultiRemoteBrowserObject): number;
listenerCount(this: WebdriverIO.MultiRemoteBrowserObject, eventName: string): number;
listeners(this: WebdriverIO.MultiRemoteBrowserObject, eventName: string): Function[];
removeListener(this: WebdriverIO.MultiRemoteBrowserObject, eventName: string, emitter: EventEmitter): any;
removeAllListeners(this: WebdriverIO.MultiRemoteBrowserObject, eventName: string): any;
}
export {};
//# sourceMappingURL=multiremote.d.ts.map