import type { SociablyThread, UniqueOmniIdentifier } from '@sociably/core'; import type { MarshallableInstance } from '@sociably/core/base/Marshaler'; import type { ConnectionTarget } from '@sociably/websocket'; type ConnectionValue = { server: string; id: string; }; declare class WebviewConnection implements SociablyThread, ConnectionTarget, MarshallableInstance { static typeName: string; static fromJSONValue({ id, server }: ConnectionValue): WebviewConnection; readonly platform: "webview"; readonly $$typeofThread = true; readonly type = "connection"; serverId: string; id: string; constructor(serverId: string, id: string); get uniqueIdentifier(): UniqueOmniIdentifier; get uid(): string; toJSONValue(): ConnectionValue; typeName(): string; } export default WebviewConnection;