import { connect } from 'node:http2'; import type { Quad9TransportResponse } from './quad9-transport.cjs'; /** * Server-runtime RFC 8484 transport. * * Quad9 currently rejects HTTP/1.1 with 505. Node and Bun Fetch use HTTP/1.1 * for this endpoint, so server bundles select this HTTP/2 adapter while web * bundles keep the portable Fetch implementation. */ export declare function requestQuad9(baseUrl: string, query: Uint8Array, signal?: AbortSignal, connectHttp2?: typeof connect): Promise;