import type { WindowLikeTransport } from "../types.ts"; export declare function sendWithRetries({ url, windowRef, useBeacon, maxRetries, initialBackoffMs, }: { url: string; windowRef: WindowLikeTransport; useBeacon: boolean; maxRetries?: number; initialBackoffMs?: number; }): Promise<{ ok: boolean; via: "beacon"; status?: undefined; } | { ok: boolean; via: "fetch"; status: number; } | { ok: boolean; via: "fetch"; status: null; }>;