UNPKG

@icecreamcake/autojs6-dts

Version:

TypeScript Declarations for AutoJs6

1,028 lines (1,006 loc) 239 kB
declare module okhttp3 { export class Address extends java.lang.Object { public static class: java.lang.Class<okhttp3.Address>; public proxy(): java.net.Proxy; /** @deprecated */ public "-deprecated_proxy"(): java.net.Proxy; public sslSocketFactory(): javax.net.ssl.SSLSocketFactory; public constructor(uriHost: string, uriPort: number, dns: okhttp3.Dns, socketFactory: javax.net.SocketFactory, sslSocketFactory: javax.net.ssl.SSLSocketFactory, hostnameVerifier: javax.net.ssl.HostnameVerifier, certificatePinner: okhttp3.CertificatePinner, proxyAuthenticator: okhttp3.Authenticator, proxy: java.net.Proxy, protocols: java.util.List<any>, connectionSpecs: java.util.List<okhttp3.ConnectionSpec>, proxySelector: java.net.ProxySelector); /** @deprecated */ public "-deprecated_socketFactory"(): javax.net.SocketFactory; /** @deprecated */ public "-deprecated_connectionSpecs"(): java.util.List<okhttp3.ConnectionSpec>; /** @deprecated */ public "-deprecated_url"(): okhttp3.HttpUrl; public certificatePinner(): okhttp3.CertificatePinner; public protocols(): java.util.List<okhttp3.Protocol>; /** @deprecated */ public "-deprecated_protocols"(): java.util.List<okhttp3.Protocol>; public dns(): okhttp3.Dns; public proxyAuthenticator(): okhttp3.Authenticator; public hostnameVerifier(): javax.net.ssl.HostnameVerifier; /** @deprecated */ public "-deprecated_proxyAuthenticator"(): okhttp3.Authenticator; public hashCode(): number; /** @deprecated */ public "-deprecated_dns"(): okhttp3.Dns; public connectionSpecs(): java.util.List<okhttp3.ConnectionSpec>; /** @deprecated */ public "-deprecated_sslSocketFactory"(): javax.net.ssl.SSLSocketFactory; /** @deprecated */ public "-deprecated_proxySelector"(): java.net.ProxySelector; public proxySelector(): java.net.ProxySelector; public equals(other: any): boolean; /** @deprecated */ public "-deprecated_certificatePinner"(): okhttp3.CertificatePinner; public url(): okhttp3.HttpUrl; public toString(): string; public socketFactory(): javax.net.SocketFactory; public equals(obj: any): boolean; public equalsNonHost$okhttp(that: okhttp3.Address): boolean; /** @deprecated */ public "-deprecated_hostnameVerifier"(): javax.net.ssl.HostnameVerifier; } } declare module okhttp3 { export class AsyncDns extends java.lang.Object { public static class: java.lang.Class<okhttp3.AsyncDns>; /** * Constructs a new instance of the okhttp3.AsyncDns interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. */ public constructor(implementation: { query(param0: string, param1: okhttp3.AsyncDns.Callback): void; "<clinit>"(): void; }); public constructor(); public static TYPE_A: number; public static TYPE_AAAA: number; public query(param0: string, param1: okhttp3.AsyncDns.Callback): void; } export module AsyncDns { export class Callback extends java.lang.Object { public static class: java.lang.Class<okhttp3.AsyncDns.Callback>; /** * Constructs a new instance of the okhttp3.AsyncDns$Callback interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. */ public constructor(implementation: { onResponse(param0: string, param1: java.util.List<any>): void; onFailure(param0: string, param1: java.io.IOException): void; }); public constructor(); public onFailure(param0: string, param1: java.io.IOException): void; public onResponse(param0: string, param1: java.util.List<any>): void; } export class Companion extends java.lang.Object { public static class: java.lang.Class<okhttp3.AsyncDns.Companion>; public static TYPE_A: number; public static TYPE_AAAA: number; public toDns(...asyncDns: okhttp3.AsyncDns[]): okhttp3.Dns; } export class DnsClass { public static class: java.lang.Class<okhttp3.AsyncDns.DnsClass>; public static IPV4: okhttp3.AsyncDns.DnsClass; public static IPV6: okhttp3.AsyncDns.DnsClass; public getType(): number; public static values(): okhttp3.AsyncDns.DnsClass[]; public static valueOf(value: string): okhttp3.AsyncDns.DnsClass; public static valueOf(enumType: java.lang.Class<any>, name: string): java.lang.Enum<any>; } } } declare module okhttp3 { export class Authenticator extends java.lang.Object { public static class: java.lang.Class<okhttp3.Authenticator>; /** * Constructs a new instance of the okhttp3.Authenticator interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. */ public constructor(implementation: { authenticate(param0: okhttp3.Route, param1: okhttp3.Response): okhttp3.Request; "<clinit>"(): void; }); public constructor(); public static NONE: okhttp3.Authenticator; public static JAVA_NET_AUTHENTICATOR: okhttp3.Authenticator; public authenticate(param0: okhttp3.Route, param1: okhttp3.Response): okhttp3.Request; } export module Authenticator { export class Companion extends java.lang.Object { public static class: java.lang.Class<okhttp3.Authenticator.Companion>; } export module Companion { export class AuthenticatorNone extends java.lang.Object implements okhttp3.Authenticator { public static class: java.lang.Class<okhttp3.Authenticator.Companion.AuthenticatorNone>; public authenticate(route: okhttp3.Route, response: okhttp3.Response): okhttp3.Request; public authenticate(param0: okhttp3.Route, param1: okhttp3.Response): okhttp3.Request; public constructor(); } } } } declare module okhttp3 { export class Cache extends java.lang.Object implements java.io.Closeable, java.io.Flushable { public static class: java.lang.Class<okhttp3.Cache>; public trackConditionalCacheHit$okhttp(): void; public setWriteSuccessCount$okhttp(_set_: number): void; public get$okhttp(request: okhttp3.Request): okhttp3.Response; public close(): void; public directory(): java.io.File; public writeAbortCount(): number; public constructor(directory: okio.Path, maxSize: number, param2: okio.FileSystem); public isClosed(): boolean; public delete(): void; /** @deprecated */ public "-deprecated_directory"(): java.io.File; public trackResponse$okhttp(cacheStrategy: okhttp3.internal.cache.CacheStrategy): void; public size(): number; public setWriteAbortCount$okhttp(_set_: number): void; public urls(): java.util.Iterator<string>; public maxSize(): number; public getWriteSuccessCount$okhttp(): number; public getCache$okhttp(): okhttp3.internal.cache.DiskLruCache; public remove$okhttp(request: okhttp3.Request): void; public evictAll(): void; public networkCount(): number; public getWriteAbortCount$okhttp(): number; public requestCount(): number; public flush(): void; public put$okhttp(response: okhttp3.Response): okhttp3.internal.cache.CacheRequest; public update$okhttp(cached: okhttp3.Response, network: okhttp3.Response): void; public initialize(): void; public directoryPath(): okio.Path; public static key(url: okhttp3.HttpUrl): string; public writeSuccessCount(): number; public hitCount(): number; public constructor(directory: java.io.File, maxSize: number); } export module Cache { export class CacheResponseBody extends okhttp3.ResponseBody { public static class: java.lang.Class<okhttp3.Cache.CacheResponseBody>; public getSnapshot(): okhttp3.internal.cache.DiskLruCache.Snapshot; public contentLength(): number; public source(): okio.BufferedSource; public contentType(): okhttp3.MediaType; public constructor(); public close(): void; public constructor(snapshot: okhttp3.internal.cache.DiskLruCache.Snapshot, contentType: string, contentLength: string); } export class Companion extends java.lang.Object { public static class: java.lang.Class<okhttp3.Cache.Companion>; public key(url: okhttp3.HttpUrl): string; public varyMatches(cachedResponse: okhttp3.Response, cachedRequest: okhttp3.Headers, newRequest: okhttp3.Request): boolean; public varyHeaders($this$varyHeaders: okhttp3.Response): okhttp3.Headers; public hasVaryAll($this$hasVaryAll: okhttp3.Response): boolean; public readInt$okhttp(source: okio.BufferedSource): number; } export class Entry extends java.lang.Object { public static class: java.lang.Class<okhttp3.Cache.Entry>; public constructor(response: okhttp3.Response); public writeTo(editor: okhttp3.internal.cache.DiskLruCache.Editor): void; public matches(request: okhttp3.Request, response: okhttp3.Response): boolean; public response(snapshot: okhttp3.internal.cache.DiskLruCache.Snapshot): okhttp3.Response; public constructor(rawSource: okio.Source); } export module Entry { export class Companion extends java.lang.Object { public static class: java.lang.Class<okhttp3.Cache.Entry.Companion>; } } export class RealCacheRequest extends java.lang.Object implements okhttp3.internal.cache.CacheRequest { public static class: java.lang.Class<okhttp3.Cache.RealCacheRequest>; public getDone(): boolean; public body(): okio.Sink; public setDone(_set_: boolean): void; public abort(): void; public constructor(this$0: okhttp3.internal.cache.DiskLruCache.Editor); } } } declare module okhttp3 { export class CacheControl extends java.lang.Object { public static class: java.lang.Class<okhttp3.CacheControl>; public static FORCE_NETWORK: okhttp3.CacheControl; public static FORCE_CACHE: okhttp3.CacheControl; /** @deprecated */ public "-deprecated_noCache"(): boolean; public constructor(noCache: boolean, noStore: boolean, maxAgeSeconds: number, sMaxAgeSeconds: number, isPrivate: boolean, isPublic: boolean, mustRevalidate: boolean, maxStaleSeconds: number, minFreshSeconds: number, onlyIfCached: boolean, noTransform: boolean, immutable: boolean, headerValue: string); public maxStaleSeconds(): number; public static parse(headers: okhttp3.Headers): okhttp3.CacheControl; public mustRevalidate(): boolean; public onlyIfCached(): boolean; public isPrivate(): boolean; public immutable(): boolean; public sMaxAgeSeconds(): number; /** @deprecated */ public "-deprecated_immutable"(): boolean; /** @deprecated */ public "-deprecated_onlyIfCached"(): boolean; /** @deprecated */ public "-deprecated_mustRevalidate"(): boolean; /** @deprecated */ public "-deprecated_noStore"(): boolean; /** @deprecated */ public "-deprecated_minFreshSeconds"(): number; /** @deprecated */ public "-deprecated_maxAgeSeconds"(): number; public toString(): string; public minFreshSeconds(): number; /** @deprecated */ public "-deprecated_sMaxAgeSeconds"(): number; public noCache(): boolean; public noTransform(): boolean; /** @deprecated */ public "-deprecated_noTransform"(): boolean; public setHeaderValue$okhttp(_set_: string): void; public getHeaderValue$okhttp(): string; /** @deprecated */ public "-deprecated_maxStaleSeconds"(): number; public noStore(): boolean; public maxAgeSeconds(): number; public isPublic(): boolean; } export module CacheControl { export class Builder extends java.lang.Object { public static class: java.lang.Class<okhttp3.CacheControl.Builder>; public setNoStore$okhttp(_set_: boolean): void; public noCache(): okhttp3.CacheControl.Builder; public getNoTransform$okhttp(): boolean; public onlyIfCached(): okhttp3.CacheControl.Builder; public minFresh(minFresh: number, timeUnit: java.util.concurrent.TimeUnit): okhttp3.CacheControl.Builder; public setNoCache$okhttp(_set_: boolean): void; public minFresh(minFresh: number, timeUnit: kotlin.time.DurationUnit): okhttp3.CacheControl.Builder; public build(): okhttp3.CacheControl; public setImmutable$okhttp(_set_: boolean): void; public maxAge(maxAge: number, timeUnit: java.util.concurrent.TimeUnit): okhttp3.CacheControl.Builder; public setMaxStaleSeconds$okhttp(_set_: number): void; public immutable(): okhttp3.CacheControl.Builder; public getMaxAgeSeconds$okhttp(): number; public maxAge(maxAge: number, timeUnit: kotlin.time.DurationUnit): okhttp3.CacheControl.Builder; public getNoStore$okhttp(): boolean; public constructor(); public noTransform(): okhttp3.CacheControl.Builder; public getNoCache$okhttp(): boolean; public setMaxAgeSeconds$okhttp(_set_: number): void; public setNoTransform$okhttp(_set_: boolean): void; public maxStale(maxStale: number, timeUnit: kotlin.time.DurationUnit): okhttp3.CacheControl.Builder; public getMaxStaleSeconds$okhttp(): number; public setMinFreshSeconds$okhttp(_set_: number): void; public getMinFreshSeconds$okhttp(): number; public maxStale(maxStale: number, timeUnit: java.util.concurrent.TimeUnit): okhttp3.CacheControl.Builder; public noStore(): okhttp3.CacheControl.Builder; public setOnlyIfCached$okhttp(_set_: boolean): void; public getOnlyIfCached$okhttp(): boolean; public getImmutable$okhttp(): boolean; } export class Companion extends java.lang.Object { public static class: java.lang.Class<okhttp3.CacheControl.Companion>; public parse(headers: okhttp3.Headers): okhttp3.CacheControl; } } } declare module okhttp3 { export class Call extends java.lang.Object implements java.lang.Cloneable { public static class: java.lang.Class<okhttp3.Call>; /** * Constructs a new instance of the okhttp3.Call interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. */ public constructor(implementation: { request(): okhttp3.Request; execute(): okhttp3.Response; enqueue(param0: okhttp3.Callback): void; cancel(): void; isExecuted(): boolean; isCanceled(): boolean; timeout(): okio.Timeout; clone(): okhttp3.Call; }); public constructor(); public isExecuted(): boolean; public clone(): okhttp3.Call; public request(): okhttp3.Request; public execute(): okhttp3.Response; public isCanceled(): boolean; public clone(): any; public enqueue(param0: okhttp3.Callback): void; public cancel(): void; public timeout(): okio.Timeout; } export module Call { export class Factory extends java.lang.Object { public static class: java.lang.Class<okhttp3.Call.Factory>; /** * Constructs a new instance of the okhttp3.Call$Factory interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. */ public constructor(implementation: { newCall(param0: okhttp3.Request): okhttp3.Call; }); public constructor(); public newCall(param0: okhttp3.Request): okhttp3.Call; } } } declare module okhttp3 { export class Callback extends java.lang.Object { public static class: java.lang.Class<okhttp3.Callback>; /** * Constructs a new instance of the okhttp3.Callback interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. */ public constructor(implementation: { onFailure(param0: okhttp3.Call, param1: java.io.IOException): void; onResponse(param0: okhttp3.Call, param1: okhttp3.Response): void; }); public constructor(); public onResponse(param0: okhttp3.Call, param1: okhttp3.Response): void; public onFailure(param0: okhttp3.Call, param1: java.io.IOException): void; } } declare module okhttp3 { export class CertificatePinner extends java.lang.Object { public static class: java.lang.Class<okhttp3.CertificatePinner>; public static DEFAULT: okhttp3.CertificatePinner; public constructor(pins: java.util.Set<okhttp3.CertificatePinner.Pin>, certificateChainCleaner: okhttp3.internal.tls.CertificateChainCleaner); public equals(other: any): boolean; /** @deprecated */ public check(hostname: string, ...peerCertificates: java.security.cert.Certificate[]): void; public static sha256Hash($this$sha256Hash: java.security.cert.X509Certificate): okio.ByteString; public static pin(certificate: java.security.cert.Certificate): string; public withCertificateChainCleaner$okhttp(certificateChainCleaner: okhttp3.internal.tls.CertificateChainCleaner): okhttp3.CertificatePinner; public findMatchingPins(hostname: string): java.util.List<okhttp3.CertificatePinner.Pin>; public getCertificateChainCleaner$okhttp(): okhttp3.internal.tls.CertificateChainCleaner; public equals(obj: any): boolean; public static sha1Hash($this$sha1Hash: java.security.cert.X509Certificate): okio.ByteString; public check(hostname: string, peerCertificates: java.util.List<any>): void; public hashCode(): number; public check$okhttp(hostname: string, cleanedPeerCertificatesFn: kotlin.jvm.functions.Function0<any>): void; public getPins(): java.util.Set<okhttp3.CertificatePinner.Pin>; } export module CertificatePinner { export class Builder extends java.lang.Object { public static class: java.lang.Class<okhttp3.CertificatePinner.Builder>; public build(): okhttp3.CertificatePinner; public constructor(); public add(pattern: string, ...pins: string[]): okhttp3.CertificatePinner.Builder; public getPins(): java.util.List<okhttp3.CertificatePinner.Pin>; } export class Companion extends java.lang.Object { public static class: java.lang.Class<okhttp3.CertificatePinner.Companion>; public sha1Hash($this$sha1Hash: java.security.cert.X509Certificate): okio.ByteString; public sha256Hash($this$sha256Hash: java.security.cert.X509Certificate): okio.ByteString; public pin(certificate: java.security.cert.Certificate): string; } export class Pin extends java.lang.Object { public static class: java.lang.Class<okhttp3.CertificatePinner.Pin>; public matchesCertificate(certificate: java.security.cert.X509Certificate): boolean; public equals(other: any): boolean; public toString(): string; public equals(obj: any): boolean; public matchesHostname(hostname: string): boolean; public constructor(pattern: string, pin: string); public getHash(): okio.ByteString; public getHashAlgorithm(): string; public getPattern(): string; public hashCode(): number; } } } declare module okhttp3 { export class Challenge extends java.lang.Object { public static class: java.lang.Class<okhttp3.Challenge>; public constructor(scheme: string, realm: string); public equals(other: any): boolean; /** @deprecated */ public "-deprecated_realm"(): string; public scheme(): string; public toString(): string; public withCharset(charset: java.nio.charset.Charset): okhttp3.Challenge; /** @deprecated */ public "-deprecated_charset"(): java.nio.charset.Charset; public realm(): string; public authParams(): java.util.Map<string,string>; public charset(): java.nio.charset.Charset; /** @deprecated */ public "-deprecated_scheme"(): string; public equals(obj: any): boolean; public hashCode(): number; public constructor(scheme: string, authParams: java.util.Map<string,string>); /** @deprecated */ public "-deprecated_authParams"(): java.util.Map<string,string>; } } declare module okhttp3 { export class CipherSuite extends java.lang.Object { public static class: java.lang.Class<okhttp3.CipherSuite>; public static TLS_RSA_WITH_NULL_MD5: okhttp3.CipherSuite; public static TLS_RSA_WITH_NULL_SHA: okhttp3.CipherSuite; public static TLS_RSA_EXPORT_WITH_RC4_40_MD5: okhttp3.CipherSuite; public static TLS_RSA_WITH_RC4_128_MD5: okhttp3.CipherSuite; public static TLS_RSA_WITH_RC4_128_SHA: okhttp3.CipherSuite; public static TLS_RSA_EXPORT_WITH_DES40_CBC_SHA: okhttp3.CipherSuite; public static TLS_RSA_WITH_DES_CBC_SHA: okhttp3.CipherSuite; public static TLS_RSA_WITH_3DES_EDE_CBC_SHA: okhttp3.CipherSuite; public static TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA: okhttp3.CipherSuite; public static TLS_DHE_DSS_WITH_DES_CBC_SHA: okhttp3.CipherSuite; public static TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA: okhttp3.CipherSuite; public static TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA: okhttp3.CipherSuite; public static TLS_DHE_RSA_WITH_DES_CBC_SHA: okhttp3.CipherSuite; public static TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA: okhttp3.CipherSuite; public static TLS_DH_anon_EXPORT_WITH_RC4_40_MD5: okhttp3.CipherSuite; public static TLS_DH_anon_WITH_RC4_128_MD5: okhttp3.CipherSuite; public static TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA: okhttp3.CipherSuite; public static TLS_DH_anon_WITH_DES_CBC_SHA: okhttp3.CipherSuite; public static TLS_DH_anon_WITH_3DES_EDE_CBC_SHA: okhttp3.CipherSuite; public static TLS_KRB5_WITH_DES_CBC_SHA: okhttp3.CipherSuite; public static TLS_KRB5_WITH_3DES_EDE_CBC_SHA: okhttp3.CipherSuite; public static TLS_KRB5_WITH_RC4_128_SHA: okhttp3.CipherSuite; public static TLS_KRB5_WITH_DES_CBC_MD5: okhttp3.CipherSuite; public static TLS_KRB5_WITH_3DES_EDE_CBC_MD5: okhttp3.CipherSuite; public static TLS_KRB5_WITH_RC4_128_MD5: okhttp3.CipherSuite; public static TLS_KRB5_EXPORT_WITH_DES_CBC_40_SHA: okhttp3.CipherSuite; public static TLS_KRB5_EXPORT_WITH_RC4_40_SHA: okhttp3.CipherSuite; public static TLS_KRB5_EXPORT_WITH_DES_CBC_40_MD5: okhttp3.CipherSuite; public static TLS_KRB5_EXPORT_WITH_RC4_40_MD5: okhttp3.CipherSuite; public static TLS_RSA_WITH_AES_128_CBC_SHA: okhttp3.CipherSuite; public static TLS_DHE_DSS_WITH_AES_128_CBC_SHA: okhttp3.CipherSuite; public static TLS_DHE_RSA_WITH_AES_128_CBC_SHA: okhttp3.CipherSuite; public static TLS_DH_anon_WITH_AES_128_CBC_SHA: okhttp3.CipherSuite; public static TLS_RSA_WITH_AES_256_CBC_SHA: okhttp3.CipherSuite; public static TLS_DHE_DSS_WITH_AES_256_CBC_SHA: okhttp3.CipherSuite; public static TLS_DHE_RSA_WITH_AES_256_CBC_SHA: okhttp3.CipherSuite; public static TLS_DH_anon_WITH_AES_256_CBC_SHA: okhttp3.CipherSuite; public static TLS_RSA_WITH_NULL_SHA256: okhttp3.CipherSuite; public static TLS_RSA_WITH_AES_128_CBC_SHA256: okhttp3.CipherSuite; public static TLS_RSA_WITH_AES_256_CBC_SHA256: okhttp3.CipherSuite; public static TLS_DHE_DSS_WITH_AES_128_CBC_SHA256: okhttp3.CipherSuite; public static TLS_RSA_WITH_CAMELLIA_128_CBC_SHA: okhttp3.CipherSuite; public static TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA: okhttp3.CipherSuite; public static TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA: okhttp3.CipherSuite; public static TLS_DHE_RSA_WITH_AES_128_CBC_SHA256: okhttp3.CipherSuite; public static TLS_DHE_DSS_WITH_AES_256_CBC_SHA256: okhttp3.CipherSuite; public static TLS_DHE_RSA_WITH_AES_256_CBC_SHA256: okhttp3.CipherSuite; public static TLS_DH_anon_WITH_AES_128_CBC_SHA256: okhttp3.CipherSuite; public static TLS_DH_anon_WITH_AES_256_CBC_SHA256: okhttp3.CipherSuite; public static TLS_RSA_WITH_CAMELLIA_256_CBC_SHA: okhttp3.CipherSuite; public static TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA: okhttp3.CipherSuite; public static TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA: okhttp3.CipherSuite; public static TLS_PSK_WITH_RC4_128_SHA: okhttp3.CipherSuite; public static TLS_PSK_WITH_3DES_EDE_CBC_SHA: okhttp3.CipherSuite; public static TLS_PSK_WITH_AES_128_CBC_SHA: okhttp3.CipherSuite; public static TLS_PSK_WITH_AES_256_CBC_SHA: okhttp3.CipherSuite; public static TLS_RSA_WITH_SEED_CBC_SHA: okhttp3.CipherSuite; public static TLS_RSA_WITH_AES_128_GCM_SHA256: okhttp3.CipherSuite; public static TLS_RSA_WITH_AES_256_GCM_SHA384: okhttp3.CipherSuite; public static TLS_DHE_RSA_WITH_AES_128_GCM_SHA256: okhttp3.CipherSuite; public static TLS_DHE_RSA_WITH_AES_256_GCM_SHA384: okhttp3.CipherSuite; public static TLS_DHE_DSS_WITH_AES_128_GCM_SHA256: okhttp3.CipherSuite; public static TLS_DHE_DSS_WITH_AES_256_GCM_SHA384: okhttp3.CipherSuite; public static TLS_DH_anon_WITH_AES_128_GCM_SHA256: okhttp3.CipherSuite; public static TLS_DH_anon_WITH_AES_256_GCM_SHA384: okhttp3.CipherSuite; public static TLS_EMPTY_RENEGOTIATION_INFO_SCSV: okhttp3.CipherSuite; public static TLS_FALLBACK_SCSV: okhttp3.CipherSuite; public static TLS_ECDH_ECDSA_WITH_NULL_SHA: okhttp3.CipherSuite; public static TLS_ECDH_ECDSA_WITH_RC4_128_SHA: okhttp3.CipherSuite; public static TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA: okhttp3.CipherSuite; public static TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA: okhttp3.CipherSuite; public static TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA: okhttp3.CipherSuite; public static TLS_ECDHE_ECDSA_WITH_NULL_SHA: okhttp3.CipherSuite; public static TLS_ECDHE_ECDSA_WITH_RC4_128_SHA: okhttp3.CipherSuite; public static TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA: okhttp3.CipherSuite; public static TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA: okhttp3.CipherSuite; public static TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA: okhttp3.CipherSuite; public static TLS_ECDH_RSA_WITH_NULL_SHA: okhttp3.CipherSuite; public static TLS_ECDH_RSA_WITH_RC4_128_SHA: okhttp3.CipherSuite; public static TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA: okhttp3.CipherSuite; public static TLS_ECDH_RSA_WITH_AES_128_CBC_SHA: okhttp3.CipherSuite; public static TLS_ECDH_RSA_WITH_AES_256_CBC_SHA: okhttp3.CipherSuite; public static TLS_ECDHE_RSA_WITH_NULL_SHA: okhttp3.CipherSuite; public static TLS_ECDHE_RSA_WITH_RC4_128_SHA: okhttp3.CipherSuite; public static TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA: okhttp3.CipherSuite; public static TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA: okhttp3.CipherSuite; public static TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA: okhttp3.CipherSuite; public static TLS_ECDH_anon_WITH_NULL_SHA: okhttp3.CipherSuite; public static TLS_ECDH_anon_WITH_RC4_128_SHA: okhttp3.CipherSuite; public static TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA: okhttp3.CipherSuite; public static TLS_ECDH_anon_WITH_AES_128_CBC_SHA: okhttp3.CipherSuite; public static TLS_ECDH_anon_WITH_AES_256_CBC_SHA: okhttp3.CipherSuite; public static TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256: okhttp3.CipherSuite; public static TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384: okhttp3.CipherSuite; public static TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256: okhttp3.CipherSuite; public static TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384: okhttp3.CipherSuite; public static TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256: okhttp3.CipherSuite; public static TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384: okhttp3.CipherSuite; public static TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256: okhttp3.CipherSuite; public static TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384: okhttp3.CipherSuite; public static TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256: okhttp3.CipherSuite; public static TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384: okhttp3.CipherSuite; public static TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256: okhttp3.CipherSuite; public static TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384: okhttp3.CipherSuite; public static TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256: okhttp3.CipherSuite; public static TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384: okhttp3.CipherSuite; public static TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256: okhttp3.CipherSuite; public static TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384: okhttp3.CipherSuite; public static TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA: okhttp3.CipherSuite; public static TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA: okhttp3.CipherSuite; public static TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256: okhttp3.CipherSuite; public static TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256: okhttp3.CipherSuite; public static TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256: okhttp3.CipherSuite; public static TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256: okhttp3.CipherSuite; public static TLS_AES_128_GCM_SHA256: okhttp3.CipherSuite; public static TLS_AES_256_GCM_SHA384: okhttp3.CipherSuite; public static TLS_CHACHA20_POLY1305_SHA256: okhttp3.CipherSuite; public static TLS_AES_128_CCM_SHA256: okhttp3.CipherSuite; public static TLS_AES_128_CCM_8_SHA256: okhttp3.CipherSuite; public javaName(): string; /** @deprecated */ public "-deprecated_javaName"(): string; public toString(): string; public static forJavaName(javaName: string): okhttp3.CipherSuite; } export module CipherSuite { export class Companion extends java.lang.Object { public static class: java.lang.Class<okhttp3.CipherSuite.Companion>; public forJavaName(javaName: string): okhttp3.CipherSuite; public getORDER_BY_NAME$okhttp(): java.util.Comparator<string>; } } } declare module okhttp3 { export class Connection extends java.lang.Object { public static class: java.lang.Class<okhttp3.Connection>; /** * Constructs a new instance of the okhttp3.Connection interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. */ public constructor(implementation: { route(): okhttp3.Route; socket(): java.net.Socket; handshake(): okhttp3.Handshake; protocol(): okhttp3.Protocol; }); public constructor(); public route(): okhttp3.Route; public protocol(): okhttp3.Protocol; public handshake(): okhttp3.Handshake; public socket(): java.net.Socket; } } declare module okhttp3 { export class ConnectionPool extends java.lang.Object { public static class: java.lang.Class<okhttp3.ConnectionPool>; public constructor(); public constructor(maxIdleConnections: number, keepAliveDuration: number, param2: java.util.concurrent.TimeUnit); public connectionCount(): number; public getDelegate$okhttp(): okhttp3.internal.connection.RealConnectionPool; public evictAll(): void; public idleConnectionCount(): number; public constructor(delegate: okhttp3.internal.connection.RealConnectionPool); } } declare module okhttp3 { export class ConnectionSpec extends java.lang.Object { public static class: java.lang.Class<okhttp3.ConnectionSpec>; public static RESTRICTED_TLS: okhttp3.ConnectionSpec; public static MODERN_TLS: okhttp3.ConnectionSpec; public static COMPATIBLE_TLS: okhttp3.ConnectionSpec; public static CLEARTEXT: okhttp3.ConnectionSpec; public cipherSuites(): java.util.List<okhttp3.CipherSuite>; public equals(other: any): boolean; public supportsTlsExtensions(): boolean; public tlsVersions(): java.util.List<okhttp3.TlsVersion>; public apply$okhttp(sslSocket: javax.net.ssl.SSLSocket, isFallback: boolean): void; public toString(): string; /** @deprecated */ public "-deprecated_supportsTlsExtensions"(): boolean; public getCipherSuitesAsString$okhttp(): string[]; public constructor(isTls: boolean, supportsTlsExtensions: boolean, cipherSuitesAsString: string[], tlsVersionsAsString: string[]); public equals(obj: any): boolean; /** @deprecated */ public "-deprecated_cipherSuites"(): java.util.List<okhttp3.CipherSuite>; public isCompatible(socket: javax.net.ssl.SSLSocket): boolean; public hashCode(): number; public isTls(): boolean; /** @deprecated */ public "-deprecated_tlsVersions"(): java.util.List<okhttp3.TlsVersion>; } export module ConnectionSpec { export class Builder extends java.lang.Object { public static class: java.lang.Class<okhttp3.ConnectionSpec.Builder>; public build(): okhttp3.ConnectionSpec; public getCipherSuites$okhttp(): string[]; public getSupportsTlsExtensions$okhttp(): boolean; public tlsVersions(...tlsVersions: okhttp3.TlsVersion[]): okhttp3.ConnectionSpec.Builder; /** @deprecated */ public supportsTlsExtensions(supportsTlsExtensions: boolean): okhttp3.ConnectionSpec.Builder; public cipherSuites(...cipherSuites: okhttp3.CipherSuite[]): okhttp3.ConnectionSpec.Builder; public constructor(tls: boolean); public setCipherSuites$okhttp(_set_: string[]): void; public getTls$okhttp(): boolean; public getTlsVersions$okhttp(): string[]; public allEnabledCipherSuites(): okhttp3.ConnectionSpec.Builder; public setSupportsTlsExtensions$okhttp(_set_: boolean): void; public allEnabledTlsVersions(): okhttp3.ConnectionSpec.Builder; public tlsVersions(...tlsVersions: string[]): okhttp3.ConnectionSpec.Builder; public cipherSuites(...cipherSuites: string[]): okhttp3.ConnectionSpec.Builder; public constructor(connectionSpec: okhttp3.ConnectionSpec); public setTls$okhttp(_set_: boolean): void; public setTlsVersions$okhttp(_set_: string[]): void; } export class Companion extends java.lang.Object { public static class: java.lang.Class<okhttp3.ConnectionSpec.Companion>; } } } declare module okhttp3 { export class Cookie extends java.lang.Object { public static class: java.lang.Class<okhttp3.Cookie>; /** @deprecated */ public "-deprecated_secure"(): boolean; public static parse(url: okhttp3.HttpUrl, setCookie: string): okhttp3.Cookie; public toString$okhttp(forObsoleteRfc2965: boolean): string; public static parseAll(url: okhttp3.HttpUrl, headers: okhttp3.Headers): java.util.List<okhttp3.Cookie>; public httpOnly(): boolean; public expiresAt(): number; /** @deprecated */ public "-deprecated_path"(): string; public hashCode(): number; /** @deprecated */ public "-deprecated_httpOnly"(): boolean; public secure(): boolean; /** @deprecated */ public "-deprecated_value"(): string; public domain(): string; public equals(other: any): boolean; public matches(url: okhttp3.HttpUrl): boolean; /** @deprecated */ public "-deprecated_persistent"(): boolean; /** @deprecated */ public "-deprecated_domain"(): string; public toString(): string; public newBuilder(): okhttp3.Cookie.Builder; public persistent(): boolean; public hostOnly(): boolean; public equals(obj: any): boolean; /** @deprecated */ public "-deprecated_expiresAt"(): number; /** @deprecated */ public "-deprecated_hostOnly"(): boolean; /** @deprecated */ public "-deprecated_name"(): string; public name(): string; public path(): string; public value(): string; } export module Cookie { export class Builder extends java.lang.Object { public static class: java.lang.Class<okhttp3.Cookie.Builder>; public httpOnly(): okhttp3.Cookie.Builder; public value(value: string): okhttp3.Cookie.Builder; public secure(): okhttp3.Cookie.Builder; public name(name: string): okhttp3.Cookie.Builder; public build(): okhttp3.Cookie; public expiresAt(expiresAt: number): okhttp3.Cookie.Builder; public domain(domain: string): okhttp3.Cookie.Builder; public hostOnlyDomain(domain: string): okhttp3.Cookie.Builder; public constructor(); public constructor(cookie: okhttp3.Cookie); public path(path: string): okhttp3.Cookie.Builder; } export class Companion extends java.lang.Object { public static class: java.lang.Class<okhttp3.Cookie.Companion>; public parse(url: okhttp3.HttpUrl, setCookie: string): okhttp3.Cookie; public parseAll(url: okhttp3.HttpUrl, headers: okhttp3.Headers): java.util.List<okhttp3.Cookie>; public parse$okhttp(currentTimeMillis: number, param1: okhttp3.HttpUrl, url: string): okhttp3.Cookie; } } } declare module okhttp3 { export class CookieJar extends java.lang.Object { public static class: java.lang.Class<okhttp3.CookieJar>; /** * Constructs a new instance of the okhttp3.CookieJar interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. */ public constructor(implementation: { saveFromResponse(param0: okhttp3.HttpUrl, param1: java.util.List<okhttp3.Cookie>): void; loadForRequest(param0: okhttp3.HttpUrl): java.util.List<okhttp3.Cookie>; "<clinit>"(): void; }); public constructor(); public static NO_COOKIES: okhttp3.CookieJar; public loadForRequest(param0: okhttp3.HttpUrl): java.util.List<okhttp3.Cookie>; public saveFromResponse(param0: okhttp3.HttpUrl, param1: java.util.List<okhttp3.Cookie>): void; } export module CookieJar { export class Companion extends java.lang.Object { public static class: java.lang.Class<okhttp3.CookieJar.Companion>; } export module Companion { export class NoCookies extends java.lang.Object implements okhttp3.CookieJar { public static class: java.lang.Class<okhttp3.CookieJar.Companion.NoCookies>; public saveFromResponse(url: okhttp3.HttpUrl, cookies: java.util.List<okhttp3.Cookie>): void; public loadForRequest(param0: okhttp3.HttpUrl): java.util.List<okhttp3.Cookie>; public saveFromResponse(param0: okhttp3.HttpUrl, param1: java.util.List<okhttp3.Cookie>): void; public constructor(); public loadForRequest(url: okhttp3.HttpUrl): java.util.List<okhttp3.Cookie>; } } } } declare module okhttp3 { export class Credentials extends java.lang.Object { public static class: java.lang.Class<okhttp3.Credentials>; public static INSTANCE: okhttp3.Credentials; public static basic(username: string, password: string, charset: java.nio.charset.Charset): string; public static basic(username: string, password: string): string; } } declare module okhttp3 { export class Dispatcher extends java.lang.Object { public static class: java.lang.Class<okhttp3.Dispatcher>; public constructor(); public executed$okhttp(call: okhttp3.internal.connection.RealCall): void; public setIdleCallback(_set_: java.lang.Runnable): void; public finished$okhttp(call: okhttp3.internal.connection.RealCall): void; public constructor(executorService: java.util.concurrent.ExecutorService); public finished$okhttp(call: okhttp3.internal.connection.RealCall.AsyncCall): void; public queuedCallsCount(): number; public enqueue$okhttp(call: okhttp3.internal.connection.RealCall.AsyncCall): void; public runningCallsCount(): number; public runningCalls(): java.util.List<okhttp3.Call>; /** @deprecated */ public "-deprecated_executorService"(): java.util.concurrent.ExecutorService; public setMaxRequestsPerHost(maxRequestsPerHost: number): void; public cancelAll(): void; public setMaxRequests(maxRequests: number): void; public queuedCalls(): java.util.List<okhttp3.Call>; public getMaxRequestsPerHost(): number; public executorService(): java.util.concurrent.ExecutorService; public getIdleCallback(): java.lang.Runnable; public getMaxRequests(): number; } } declare module okhttp3 { export class Dns extends java.lang.Object { public static class: java.lang.Class<okhttp3.Dns>; /** * Constructs a new instance of the okhttp3.Dns interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. */ public constructor(implementation: { lookup(param0: string): java.util.List<java.net.InetAddress>; "<clinit>"(): void; }); public constructor(); public static SYSTEM: okhttp3.Dns; public lookup(param0: string): java.util.List<java.net.InetAddress>; } export module Dns { export class Companion extends java.lang.Object { public static class: java.lang.Class<okhttp3.Dns.Companion>; } export module Companion { export class DnsSystem extends java.lang.Object implements okhttp3.Dns { public static class: java.lang.Class<okhttp3.Dns.Companion.DnsSystem>; public lookup(param0: string): java.util.List<java.net.InetAddress>; public lookup(hostname: string): java.util.List<java.net.InetAddress>; public constructor(); } } } } declare module okhttp3 { export abstract class EventListener extends java.lang.Object { public static class: java.lang.Class<okhttp3.EventListener>; public static NONE: okhttp3.EventListener; public connectStart(call: okhttp3.Call, inetSocketAddress: java.net.InetSocketAddress, proxy: java.net.Proxy): void; public cacheHit(call: okhttp3.Call, response: okhttp3.Response): void; public proxySelectEnd(call: okhttp3.Call, url: okhttp3.HttpUrl, proxies: java.util.List<java.net.Proxy>): void; public responseFailed(call: okhttp3.Call, ioe: java.io.IOException): void; public proxySelectStart(call: okhttp3.Call, url: okhttp3.HttpUrl): void; public connectEnd(call: okhttp3.Call, inetSocketAddress: java.net.InetSocketAddress, proxy: java.net.Proxy, protocol: okhttp3.Protocol): void; public dnsStart(call: okhttp3.Call, domainName: string): void; public connectionAcquired(call: okhttp3.Call, connection: okhttp3.Connection): void; public callEnd(call: okhttp3.Call): void; public callStart(call: okhttp3.Call): void; public responseHeadersStart(call: okhttp3.Call): void; public connectFailed(call: okhttp3.Call, inetSocketAddress: java.net.InetSocketAddress, proxy: java.net.Proxy, protocol: okhttp3.Protocol, ioe: java.io.IOException): void; public constructor(); public dnsEnd(call: okhttp3.Call, domainName: string, inetAddressList: java.util.List<java.net.InetAddress>): void; public canceled(call: okhttp3.Call): void; public responseBodyStart(call: okhttp3.Call): void; public secureConnectEnd(call: okhttp3.Call, handshake: okhttp3.Handshake): void; public requestHeadersStart(call: okhttp3.Call): void; public satisfactionFailure(call: okhttp3.Call, response: okhttp3.Response): void; public cacheConditionalHit(call: okhttp3.Call, cachedResponse: okhttp3.Response): void; public secureConnectStart(call: okhttp3.Call): void; public requestBodyStart(call: okhttp3.Call): void; public responseBodyEnd(call: okhttp3.Call, byteCount: number): void; public requestFailed(call: okhttp3.Call, ioe: java.io.IOException): void; public connectionReleased(call: okhttp3.Call, connection: okhttp3.Connection): void; public requestBodyEnd(call: okhttp3.Call, byteCount: number): void; public requestHeadersEnd(call: okhttp3.Call, request: okhttp3.Request): void; public cacheMiss(call: okhttp3.Call): void; public callFailed(call: okhttp3.Call, ioe: java.io.IOException): void; public responseHeadersEnd(call: okhttp3.Call, response: okhttp3.Response): void; } export module EventListener { export class Companion extends java.lang.Object { public static class: java.lang.Class<okhttp3.EventListener.Companion>; } export class Factory extends java.lang.Object { public static class: java.lang.Class<okhttp3.EventListener.Factory>; /** * Constructs a new instance of the okhttp3.EventListener$Factory interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. */ public constructor(implementation: { create(param0: okhttp3.Call): okhttp3.EventListener; }); public constructor(); public create(param0: okhttp3.Call): okhttp3.EventListener; } } } declare module okhttp3 { export class FormBody extends okhttp3.RequestBody { public static class: java.lang.Class<okhttp3.FormBody>; public constructor(); public encodedValue(index: number): string; /** @deprecated */ public "-deprecated_size"(): number; public constructor(encodedNames: java.util.List<string>, encodedValues: java.util.List<string>); public encodedName(index: number): string; public value(index: number): string; public size(): number; public writeTo(sink: okio.BufferedSink): void; public name(index: number): string; public contentType(): okhttp3.MediaType; public writeTo(param0: okio.BufferedSink): void; public contentLength(): number; } export module FormBody { export class Builder extends java.lang.Object { public static class: java.lang.Class<okhttp3.FormBody.Builder>; public addEncoded(name: string, value: string): okhttp3.FormBody.Builder; public constructor(charset: java.nio.charset.Charset); public add(name: string, value: string): okhttp3.FormBody.Builder; public constructor(); public build(): okhttp3.FormBody; } export class Companion extends java.lang.Object { public static class: java.lang.Class<okhttp3.FormBody.Companion>; } } } declare module okhttp3 { export class Handshake extends java.lang.Object { public static class: java.lang.Class<okhttp3.Handshake>; public equals(other: any): boolean; public static get(tlsVersion: okhttp3.TlsVersion, cipherSuite: okhttp3.CipherSuite, peerCertificates: java.util.List<any>, localCertificates: java.util.List<any>): okhttp3.Handshake; /** @deprecated */ public "-deprecated_localPrincipal"(): java.security.Principal; /** @deprecated */ public "-deprecated_cipherSuite"(): okhttp3.CipherSuite; public localCertificates(): java.util.List<java.security.cert.Certificate>; /** @deprecated */ public "-deprecated_tlsVersion"(): okhttp3.TlsVersion; /** @deprecated */ public "-deprecated_peerCertificates"(): java.util.List<java.security.cert.Certificate>; public peerCertificates(): java.util.List<java.security.cert.Certificate>; public toString(): string; public peerPrincipal(): java.security.Principal; public constructor(tlsVersion: okhttp3.TlsVersion, cipherSuite: okhttp3.CipherSuite, localCertificates: java.util.List<any>, peerCertificatesFn: kotlin.jvm.functions.Function0<any>); public equals(obj: any): boolean; public hashCode(): number; /** @deprecated */ public "-deprecated_peerPrincipal"(): java.security.Principal; public localPrincipal(): java.security.Principal; public static get($this$get: javax.net.ssl.SSLSession): okhttp3.Handshake; public tlsVersion(): okhttp3.TlsVersion; /** @deprecated */ public "-deprecated_localCertificates"(): java.util.List<java.security.cert.Certificate>; public cipherSuite(): okhttp3.CipherSuite; } export module Handshake { export class Companion extends java.lang.Object { public static class: java.lang.Class<okhttp3.Handshake.Companion>; public get($this$handshake: javax.net.ssl.SSLSession): okhttp3.Handshake; /** @deprecated */ public "-deprecated_get"(sslSession: javax.net.ssl.SSLSession): okhttp3.Handshake; public get(tlsVersion: okhttp3.TlsVersion, cipherSuite: okhttp3.CipherSuite, peerCertificates: java.util.List<any>, localCertificates: java.util.List<any>): okhttp3.Handshake; } } } declare module okhttp3 { export class Headers extends java.lang.Object { public static class: java.lang.Class<okhttp3.Headers>; public newBuilder(): okhttp3.Headers.Builder; public equals(other: any): boolean; public iterator(): java.util.Iterator<any>; public toString(): string; public getDate(name: string): java.util.Date; public get(name: string): string; public equals(obj: any): boolean; /** @deprecated */ public "-deprecated_size"(): number; public names(): java.util.Set<string>; public value(index: number): string; public static of(...namesAndValues: string[]): okhttp3.Headers; public static of($this$of: java.util.Map<string,string>): okhttp3.Headers; public size(): number; public iterator(): java.util.Iterator<kotlin.Pair<string,string>>; public spliterator(): java.util.Spliterator<any>; public hashCode(): number; public toMultimap(): java.util.Map<string,java.util.List<string>>; public getInstant(name: string): java.time.Instant; public byteCount(): number; public name(index: number): string; public values(name: string): java.util.List<string>; public forEach(action: any /* any*/): void; public constructor(namesAndValues: string[]); public getNamesAndValues$okhttp(): string[]; } export module Headers { export class Builder extends java.lang.Object { public static class: java.lang.Class<okhttp3.Headers.Builder>; public add(line: string): okhttp3.Headers.Builder; public build(): okhttp3.Headers; public addLenient$okhttp(name: string, value: string): okhttp3.Headers.Builder; public removeAll(name: string): okhttp3.Headers.Builder; public getNamesAndValues$okhttp(): java.util.List<string>; public addUnsafeNonAscii(name: string, value: string): okhttp3.Headers.Builder; public constructor(); public add(name: string, value: string): okhttp3.Headers.Builder; public set(name: string, value: string): okhttp3.Headers.Builder; public get(name: string): string; public set(name: string, value: java.util.Date): okhttp3.Headers.Builder; public addLenient$okhttp(line: string): okhttp3.Headers.Builder; public set(name: string, value: java.time.Instant): okhttp3.Headers.Builder; public add(name: string, value: java.time.Instant): okhttp3.Headers.Builder; public addAll(headers: okhttp3.Headers): okhttp3.Headers.Builder; public add(name: string, value: java.util.Date): okhttp3.Headers.Builder; } export class Companion extends java.lang.Object { public static class: java.lang.Class<okhttp3.Headers.Companion>; public of($this$toHeaders: java.util.Map<string,string>): okhttp3.Headers; /** @deprecated */ public "-deprecated_of"(headers: java.util.Map<string,string>): okhttp3.Headers; /** @deprecated */ public "-deprecated_of"(...namesAndValues: string[]): okhttp3.Headers; public of(...namesAndValues: string[]): okhttp3.Headers; } } } declare module okhttp3 { export class HttpUrl extends java.lang.Object { public static class: java.lang.Class<okhttp3.HttpUrl>; public static USERNAME_ENCODE_SET: string; public static PASSWORD_ENCODE_SET: string; public static PATH_SEGMENT_ENCODE_SET: string; public static PATH_SEGMENT_ENCODE_SET_URI: string; public static QUERY_ENCODE_SET: string; public static QUERY_COMPONENT_REENCODE_SET: string; public static QUERY_COMPONENT_ENCODE_SET: string; public static QUERY_COMPONENT_ENCODE_SET_URI: string; public static FORM_ENCODE_SET: string; public static FRAGMENT_ENCODE_SET: string; public static FRAGMENT_ENCODE_SET_URI: string; public topPrivateDomain(): string; public queryParameterName(index: number): string; /** @deprecated */ public "-deprecated_query"(): string; public queryParameterNames(): java.util.Set<string>; public encodedPassword(): string; public query(): string; /** @deprecated */ public "-deprecated_uri"(): java.net.URI; public pathSize(): number; /** @deprecated */ public "-deprecated_encodedUsername"(): string; public isHttps(): boolean; /** @deprecated */ public "-deprecated_encodedPathSegments"(): java.util.List<string>; public newBuilder(): okhttp3.HttpUrl.Builder; /** @deprecated */ public "-deprecated_encodedPassword"(): string; public port(): number; /** @deprecated */ public "-deprecated_encodedQuery"(): string; public encodedFragment(): string; public redact(): string; public fragment(): string; pu