import { ApiResponsePayload, CookieMap } from "./types"; export declare class TLSResponse { readonly id: string; readonly ok: boolean; readonly status: number; readonly url: string; readonly body: string; readonly headers: Record; readonly cookies: CookieMap; readonly sessionId?: string; readonly usedProtocol?: string; constructor(payload: ApiResponsePayload); text(): Promise; json(): Promise; bytes(): Promise; arrayBuffer(): Promise; header(name: string): string | undefined; toJSON(): ApiResponsePayload; }