/** * Build a deterministic cache key for image endpoint requests by normalizing * query parameters -- only known image params are kept, in sorted order. */ declare function buildImageCacheKey(pathname: string, params: URLSearchParams): string; /** * Compute the server-islands URL prefix for a given `base`. Astro emits * island URLs as `${base}${slash}_server-islands/...` where `slash` is * empty when `base` already ends with `/`. `base` is not guaranteed to end * with a slash -- it depends on `trailingSlash` config. */ declare function computeServerIslandsPrefix(base: string): string; /** * Compute the runtime image endpoint path by joining `base` with the * image endpoint route. Astro emits image URLs as * `joinPaths(BASE_URL, image.endpoint.route)`, so the incoming pathname * is base-prefixed and must be matched against the same. */ declare function computeImageEndpointPath(base: string, route: string): string; /** SSR request handler. */ declare const handler: (request: Request) => Promise; export { handler, handler as default, computeServerIslandsPrefix, computeImageEndpointPath, buildImageCacheKey };