/**
 * Start the production server.
 *
 * Serves pre-built pages from .output/ with minimal per-request work:
 * - Static assets: served from disk with immutable cache headers
 * - SPA fragments: served from pre-extracted HTML files
 * - Static pages: served directly (zero processing)
 * - Dynamic pages: hydrated with request-time data
 */
export declare function startProductionServer(options?: ProductionServerOptions): Promise<{ port: number, stop: () => void }>;
/**
 * Production server configuration.
 */
export declare interface ProductionServerOptions {
  outputDir?: string
  port?: number
  onRequest?: (req: Request) => Response | Promise<Response> | null | Promise<null>
  apiRoutes?: Record<string, (req: Request) => Response | Promise<Response>>
}
