import { getConfig } from "./config";
import { getUserAgent, isBrowser } from "./runtime";
const isCloudflareWorkers =
typeof navigator !== "undefined" &&
navigator?.userAgent === "Cloudflare-Workers";
export async function dispatchRequest(
method: string,
targetUrl: string,
input: Input,
): Promise