import http2 from "node:http2"; import type { ManagedProxyTlsOptions } from "./net/proxy/proxy-tls.js"; export declare const APNS_HTTP2_CANCEL_CODE: number; export type ConnectApnsHttp2SessionParams = { authority: string; timeoutMs: number; }; export type ProbeApnsHttp2ReachabilityViaProxyParams = { authority: string; proxyUrl: string; proxyTls?: ManagedProxyTlsOptions; timeoutMs: number; }; export type ProbeApnsHttp2ReachabilityViaProxyResult = { status: number; body: string; /** Raw response headers from APNs. Includes apns-id when the connection was truly tunneled to Apple. */ responseHeaders: Record; }; export declare function connectApnsHttp2Session(params: ConnectApnsHttp2SessionParams): Promise; export declare function probeApnsHttp2ReachabilityViaProxy(params: ProbeApnsHttp2ReachabilityViaProxyParams): Promise;