/** * MailDev - web */ import { MailServer } from "./mailserver"; export interface WebOptions { port?: number; host?: string; basePathname?: string; domain?: string; auth?: { user: string; pass: string; }; ssl?: { cert: string; key: string; }; } export declare class Web { protocol: string; port: number; host: string; basePathname: string; /** * Keep record of all connections to close them on shutdown */ connections: {}; server: any; io: any; constructor(mailserver: MailServer, options?: WebOptions); listen(): Promise; close(): Promise; }