import { type ServerConfig } from '../config.js'; import { type Web } from '../web.js'; export interface iReceiverConfig { enabled: boolean; } export interface iReceiverStatic { new (config: ServerConfig, web: Web): iReceiver; getConfig(cfg?: Partial): T; } export declare abstract class iReceiver { protected config: ServerConfig; private web; constructor(config: ServerConfig, web: Web); request: (url: string) => Promise; start: () => void; close: () => void; }