/** * @junctionjs/astro - Server-Side Middleware * * Runs on every SSR request. Collects server-side context * (IP, user agent, geo, session) and makes it available to: * 1. The rendered page (via Astro.locals) * 2. Server-side destinations (via the gateway) * 3. The client (via a serialized cookie/header) * * This is the Astro equivalent of GTM server containers or * Launch event forwarding — but it runs in your own infrastructure. */ declare const onRequest: (context: any, next: () => Promise) => Promise; export { onRequest };