import type { Server } from 'bun'; import type { EcoPagesAppConfig } from '../types/internal-types.js'; type StaticContentServerOptions = { port?: number; }; /** * Static content server for production builds. * Serves pre-built static files from the dist directory with gzip compression support. */ export declare class StaticContentServer { server: Server | null; private appConfig; private options; constructor({ appConfig, options }: { appConfig: EcoPagesAppConfig; options?: StaticContentServerOptions; }); private shouldServeGzip; private isHtml; private sendNotFoundPage; private serveFromDir; fetch(request: Request): Promise; private startServer; stop(): void; static createServer({ appConfig, options, }: { appConfig: EcoPagesAppConfig; options?: StaticContentServerOptions; }): StaticContentServer; } export {};