import { Database } from "./Database";
import { connection as WebSocketConnection } from "websocket";
import { CallBack, FilePath } from "./typedefs";
export declare class RoutingServerInstance extends Database {
    readonly filePath: FilePath;
    readonly logger: CallBack;
    constructor(filePath: FilePath, identity: string, logger?: CallBack);
    onConnection(connection: WebSocketConnection): Promise<void>;
    private onMessage;
    private onClose;
}
