import type { BrowserTunnelOptions } from '@sentry/core'; import type { AstroConfig } from 'astro'; import { type VitePlugin } from './cloudflare'; /** The tunnel options Astro's routing requires, or `undefined` if the defaults work. */ export declare function getAstroTunnelOptions(config: Pick): BrowserTunnelOptions | undefined; /** Imported first in the injected init scripts, so the options are set before `Sentry.init` runs. */ export declare const TUNNEL_OPTIONS_IMPORT = "import \"virtual:@sentry/astro/tunnel-options\";\n"; /** * Serves the module that hands the tunnel options to the SDKs. On the server it goes through core's managed tunnel * defaults, because the server client isn't always `@sentry/astro`'s: on Cloudflare Workers it's `@sentry/cloudflare`'s, * created per request. The Worker entry imports the module first, so the defaults are set before any client exists. */ export declare function makeTunnelOptionsVitePlugin(tunnelOptions: BrowserTunnelOptions): VitePlugin; //# sourceMappingURL=tunnel.d.ts.map