import { ReceiveEndpointDefault } from "./receive-endpoint-default.mjs"; import { Endpoint } from "./endpoint.mjs"; /** * Receiving endpoint wich can also send to itself. */ export declare class ReceiveEndpointSelfConnectedDefault extends ReceiveEndpointDefault { get isOut(): boolean; connections(): any; addConnection(other: any, backpointer: any): void; /** * Actually stop the communication. * @param {Endpoint} other * @param {boolean?} backpointer true if this is the call form back call from the other side */ removeConnection(other: Endpoint, backpointer: boolean | null): void; isConnected(other: any): boolean; send(...args: any[]): Promise; }