import { Machine } from "../Independents/Machine.js"; import { CHostOwnershipRecord, IHost } from "../Engine/Host.js"; import { Datagram, Request, ResponseInit } 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"; import { Subscription } from "../Independents/util/Subscription.js"; import { DocumentHost } from "./DocumentHost.js"; import { Stream } from "../Independents/util/Stream.js"; import { OpenPromise } from "../Independents/util/OpenPromise.js"; export declare abstract class ElementWithSrc extends HTMLElement implements IHost { src: string; feedbackUrl: string | null; readData(): Promise; gotData(d: any): void; idString(): string; _source: Subscription; feedback: Stream; _host: DocumentHost; hostName: OpenPromise; onRequest(request: Request): Promise | ResponseInit; get aliases2(): string[]; get source(): Subscription; get machine(): Machine; get childHosts(): { [key: string]: CHostOwnershipRecord; }; addChild(name: string, secret: string, registed: boolean, gateway: string): CHostOwnershipRecord; allocateChildName(hostTemplate: HostNameTemplate, secret: string): Either; onReceiveDatagram(datagram: Datagram): Promise; srcFetch(src: string): Promise; attributeChangedCallback(id: string, oldVal: string, newVal: string): void; defaultAccept(): string; connectedCallback(): void; processFeedback(): Promise; postFeedback(feedback: any): void; getInlinedData(): Promise; static toString(d: any): any; }