import type { SociablyPlatform } from '@sociably/core'; import Auth, { AnyServerAuthenticator } from '@sociably/auth'; import Next from '@sociably/next'; import WebSocket from '@sociably/websocket'; import type { WebSocketJob, WebSocketResult, EventValue } from '@sociably/websocket'; import { WebviewSocketServer, WebviewAuthController } from './interface.js'; import { BotP } from './Bot.js'; import { ReceiverP } from './Receiver.js'; import type { WebviewEventContext, WebviewDispatchFrame, WebviewConfigs } from './types.js'; /** * @category Root */ declare namespace Webview { const Configs: import("@sociably/core/service").SingularServiceInterface; type Configs = WebviewConfigs; const Bot: import("@sociably/core/service").ServiceProvider, import("@sociably/core").ModuleUtilities | null, import("./types.js").WebviewPlatformUtilities | null]> & typeof import("./Bot.js").WebviewBot; type Bot = BotP; const SocketServer: import("@sociably/core/service").ServiceProvider, [string | null, import("ws").Server, import("@sociably/websocket").WebSocketClusterBroker, import("@sociably/websocket").VerifyUpgradeFn | null, import("@sociably/websocket").AnyVerifyLoginFn | null, import("@sociably/core/base/Marshaler").BaseMarshaler, import("@sociably/websocket").WebSocketConfigs]> & (new ({ id, wsServer, broker, verifyUpgrade, verifyLogin, heartbeatInterval, marshaler, }: { id: string | undefined; wsServer: import("ws").Server; broker: import("@sociably/websocket").WebSocketClusterBroker; marshaler: import("@sociably/core/base/Marshaler").Marshaler; verifyUpgrade: import("@sociably/websocket").VerifyUpgradeFn; verifyLogin: import("@sociably/websocket").VerifyLoginFn; heartbeatInterval?: number | undefined; }) => import("@sociably/websocket").WebSocketServer); type SocketServer = WebviewSocketServer; const Receiver: import("@sociably/core/service").ServiceProvider, [import("./Bot.js").WebviewBot, import("@sociably/websocket").WebSocketServer, import("@sociably/core").ModuleUtilities, import("./types.js").WebviewPlatformUtilities]> & (new (bot: import("./Bot.js").WebviewBot, server: WebviewSocketServer, popEventWrapper: import("@sociably/core").PopEventWrapper, null>, popError: import("@sociably/core").PopErrorFn) => import("./Receiver.js").WebviewReceiver); type Receiver = ReceiverP; const SocketBroker: import("@sociably/core/service").SingularServiceInterface; type SocketBroker = WebSocket.Broker; const SocketServerId: import("@sociably/core/service").SingularServiceInterface; type SocketServerId = string; const WsServer: import("@sociably/core/service").SingularServiceInterface; type WsServer = WebSocket.WsServer; const AuthController: import("@sociably/core/service").ServiceProvider, [import("@sociably/auth").AuthHttpOperator, AnyServerAuthenticator[]]> & (new (operator: import("@sociably/auth").AuthHttpOperator, authenticators: AnyServerAuthenticator[]) => import("@sociably/auth").AuthController); type AuthController = WebviewAuthController; const AuthenticatorList: import("@sociably/core/service").MultiServiceInterface; type AuthenticatorList = Auth.AuthenticatorList; const NextServer: import("@sociably/core/service").SingularServiceInterface; type NextServer = Next.Server; const NextReceiver: import("@sociably/core/service").ServiceProvider & typeof import("@sociably/next").NextReceiver; type NextReceiver = Next.Receiver; const initModule: (configs: WebviewConfigs) => SociablyPlatform, null, WebSocketJob, WebviewDispatchFrame, WebSocketResult>; } export default Webview;