import { ArangojsResponse } from "./util/request"; import { Connection } from "./connection"; export declare class Route { private _connection; private _path; private _headers; constructor(connection: Connection, path?: string, headers?: Object); route(path: string, headers?: Object): Route; request({ method, path, headers, ...opts }: any): Promise; private _request1; private _request2; delete(): Promise; delete(path?: string): Promise; delete(path?: string, qs?: Object): Promise; delete(qs?: Object): Promise; delete(qs?: Object, headers?: Object): Promise; delete(path?: string, qs?: Object, headers?: Object): Promise; get(): Promise; get(path?: string): Promise; get(path?: string, qs?: Object): Promise; get(path?: string, qs?: Object, headers?: Object): Promise; get(qs?: Object): Promise; get(qs?: Object, headers?: Object): Promise; head(): Promise; head(path?: string): Promise; head(path?: string, qs?: Object): Promise; head(path?: string, qs?: Object, headers?: Object): Promise; head(qs?: Object): Promise; head(qs?: Object, headers?: Object): Promise; patch(): Promise; patch(path?: string): Promise; patch(path?: string, body?: any): Promise; patch(path?: string, body?: any, qs?: Object): Promise; patch(body?: any): Promise; patch(body?: any, qs?: Object): Promise; patch(body?: any, qs?: Object, headers?: Object): Promise; patch(path?: string, body?: any, qs?: Object, headers?: Object): Promise; post(): Promise; post(path?: string): Promise; post(path?: string, body?: any): Promise; post(path?: string, body?: any, qs?: Object): Promise; post(body?: any): Promise; post(body?: any, qs?: Object): Promise; post(body?: any, qs?: Object, headers?: Object): Promise; post(path?: string, body?: any, qs?: Object, headers?: Object): Promise; put(): Promise; put(path?: string): Promise; put(path?: string, body?: any): Promise; put(path?: string, body?: any, qs?: Object): Promise; put(body?: any): Promise; put(body?: any, qs?: Object): Promise; put(body?: any, qs?: Object, headers?: Object): Promise; put(path?: string, body?: any, qs?: Object, headers?: Object): Promise; } //# sourceMappingURL=route.d.ts.map