import type { VitePlugin } from './cloudflare'; /** * The middleware entrypoint the integration registers instead of `@sentry/astro/middleware` when it injects the init. */ export declare const SENTRY_MIDDLEWARE_MODULE = "virtual:@sentry/astro/middleware"; /** * The `page-ssr` script that runs the server init. */ export declare const SERVER_INIT_IMPORT = "import \"virtual:@sentry/astro/server-init\";\n"; /** * Serves the server init as one module that SSR pages and the Sentry middleware both import, so it runs once, on * whichever request comes first. With `injectIntoEntry`, a build also imports it from the server entry, so the SDK is * set up before the server takes its first request: a tunnel request from a prerendered page on a cold server renders * no SSR page and would otherwise reach the app before the runtime answers tunnel requests. */ export declare function makeServerInitVitePlugin(serverInitSnippet: string, { injectIntoEntry }?: { injectIntoEntry?: boolean | undefined; }): VitePlugin; //# sourceMappingURL=serverInit.d.ts.map