/** * Serve packaged Web UI (SPA) from disk next to API. */ import type { IncomingMessage, ServerResponse } from 'node:http'; /** SPA CSP. File preview uses blob: URLs for video/audio/PDF. */ export declare const SPA_CONTENT_SECURITY_POLICY: string; /** * Resolve default web dist: * - YSK_WEB_ROOT env * - monorepo apps/web/dist relative to server package * - sibling web/dist for packaged installs */ export declare function resolveWebRoot(explicit?: string): string | null; /** * Try to serve a static file or SPA index. Returns true if response was written. */ export declare function tryServeStatic(req: IncomingMessage, res: ServerResponse, urlPathname: string, webRoot: string | null): boolean; //# sourceMappingURL=static.d.ts.map