/**
 *      Multihost server
 *
 *      Master multihost functionality
 *
 *      Copyright 2014-2024 bluefox <dogafox@gmail.com>,
 *      MIT License
 *
 */
import type { InternalLogger } from '@iobroker/js-controller-common-db/tools';
interface MHInfo {
    node: string;
    arch: string;
    model: string;
    cpus: number;
    mem: number;
    ostype: string;
}
/**
 * The Multihost Server allows connection from other ioBroker hosts
 *
 * @param hostname name of the host
 * @param logger
 * @param config
 * @param info
 * @param secret
 */
export declare class MHServer {
    private readonly count;
    private readonly buffer;
    private readonly lastFrame;
    private readonly authList;
    private readonly config;
    private readonly logger;
    private readonly info;
    private readonly secret;
    private readonly hostname;
    private server;
    private initTimer;
    private stopped;
    constructor(hostname: string, logger: InternalLogger, config: ioBroker.IoBrokerJson, info: MHInfo, secret: string | false);
    private send;
    private checkAuthList;
    private sha;
    private process;
    init(): void;
    close(callback?: () => void): void;
}
export {};
//# sourceMappingURL=multihostServer.d.ts.map