///
import { EventEmitter } from 'events';
import * as got from 'got';
import { Options } from './types';
export interface WebDriverResponse {
value: any;
status?: number;
sessionId?: string;
}
export default class WebDriverRequest extends EventEmitter {
body?: Record;
method: string;
endpoint: string;
isHubCommand: boolean;
requiresSessionId: boolean;
defaultOptions: got.Options;
constructor(method: string, endpoint: string, body?: Record, isHubCommand?: boolean);
makeRequest(options: Options, sessionId?: string): Promise;
private _createOptions;
private _request;
}
//# sourceMappingURL=request.d.ts.map