import * as WebSocket from 'ws'; export type HTML = string; export type JavaScript = string; export type AssemblyScript = string; export type TypeScript = string; export type CommandLineOptions = { readonly buildStatic: boolean; readonly watchFiles: boolean; readonly httpPort: number; readonly wsPort: number; readonly jsTarget: string; readonly exclude: string | undefined; readonly include: string | undefined; readonly disableSpa: boolean; readonly customHTTPHeadersFilePath: string | undefined; }; export type Clients = { [remoteAddress: string]: Readonly; }; export type CompiledFiles = { [filePath: string]: Readonly | null; }; export type FileContentsResult = { readonly fileContents: Readonly; } | 'FILE_NOT_FOUND'; export type Transformer = (source: string) => string; export type CustomHTTPHeaders = { readonly [regexp: string]: Readonly; }; export type HTTPHeaders = { readonly [key: string]: string; }