import { ServerResponse } from 'node:http'; export declare const SERVER_API_VERSION = 1; export declare const VIEWER_DIST: string; export interface StaticServerOptions { port?: number; } export interface StaticServer { port: number; url: string; close(): Promise; } export interface ServerDescriptor { app: 'brepjs-viewer'; port: number; dynamicRoot: true; serverApiVersion: number; } export declare function sendFile(res: ServerResponse, absPath: string): Promise; export declare function safeJoin(root: string, rel: string): string | null; export declare function startStaticServer(opts?: StaticServerOptions): Promise;