import * as http from 'node:http'; import type { IndexDatabase } from '../db/database.js'; export declare const MIME_TYPES: Record; /** * Get MIME type for a file extension */ export declare function getMimeType(ext: string): string; /** * Create the HTTP server for the browse command */ export declare function createServer(db: IndexDatabase, port: number): http.Server; /** * Start the HTTP server */ export declare function startServer(server: http.Server, port: number): Promise; //# sourceMappingURL=server.d.ts.map