import { Machine, MachineInit } from "../Independents/Machine.js"; import { CHostOwnershipRecord, IHost } from "../Engine/Host.js"; import { Datagram } from "../Independents/Datagram/datagram-types.js"; import { HostNameTemplate } from "../Independents/DNS/HostName.js"; import { SpawningError } from "../Engine/Gateway.js"; import { Either } from "../Independents/util/Either.js"; export declare class DocumentHost implements IHost { machineInit: MachineInit; aliases2: string[]; machine: Machine; constructor(alias: string | null, machineInit: MachineInit); onReceiveDatagram(datagram: Datagram): Promise; allocateChildName(hostTemplate: HostNameTemplate, secret: string): Either; get childHosts(): { [key: string]: CHostOwnershipRecord; }; addChild(name: string, secret: string, registred: boolean, gateway: string): CHostOwnershipRecord; }