import { Config, Connection, RequestOptions } from 'arangojs/connection'; import { ArangojsResponse } from 'arangojs/lib/request'; export declare class CustomConnection extends Connection { constructor(config?: Config); request({ hostUrl, method, body, expectBinary, isBinary, allowDirtyRead, retryOnConflict, timeout, headers, ...urlInfo }: RequestOptions, transform?: (res: ArangojsResponse) => T): Promise; addToHostList(urls: string | ReadonlyArray): string[]; }