/// import http from "http"; export interface ServerOptions { ipList: string[]; dir: string; } export declare class Server { readonly options: ServerOptions; protected server: http.Server | null; constructor(options: ServerOptions); listen(host: string, port: number): void; attach(server: http.Server): void; getFile(req: http.IncomingMessage, res: http.ServerResponse): Promise; putFile(req: http.IncomingMessage, res: http.ServerResponse): Promise; }