import { Metadata } from './metadata'; export interface Proxy { withKey(key: string): Proxy; withDynamicKey(key: string): Proxy; withTunnelKey(key: string): Proxy; withRandomToken(): Proxy; withProxyList(list?: string): Proxy; withProxyDynamic(url?: string): Proxy; withRandomInstance(): Proxy; getRandomToken(): string; getDynamicInstance(): Promise; getInstance(): Promise; getTunnel(): boolean | undefined; getProxyList(): string[]; getMetadata(url?: string): Promise; }