import { type ClientHttp2Session, type ClientHttp2Stream, type IncomingHttpHeaders, type OutgoingHttpHeaders } from 'node:http2'; interface Http2FetchResponse { status: number; statusText: string; headers: IncomingHttpHeaders; body: ClientHttp2Stream; buffer: () => Promise; close: () => void; destroy: () => void; } interface Http2FetchOptions { method?: string; headers?: OutgoingHttpHeaders; body?: string | Buffer; timeout?: number; keepAlive?: number | boolean; } export declare class Http2TimeoutError extends Error { code: string | number; constructor(message: string); } export declare class Http2Client { clientCache: Record; request(url: URL, options?: Http2FetchOptions): Promise; private httpClient; destroy(client: ClientHttp2Session, origin: string): void; } export {};