import type { PopEventWrapper, PopErrorFn } from '@sociably/core'; import { AnyServerAuthenticator } from '@sociably/auth'; import { EventValue } from '@sociably/websocket'; import { WebviewSocketServer } from './interface.js'; import { BotP } from './Bot.js'; import type { WebviewEventContext } from './types.js'; /** * @category Provider */ export declare class WebviewReceiver { private _bot; private _server; private _popError; private _popEvent; constructor(bot: BotP, server: WebviewSocketServer, popEventWrapper: PopEventWrapper, null>, popError: PopErrorFn); private _issueEvent; } export declare const ReceiverP: import("@sociably/core/service").ServiceProvider, [import("./Bot.js").WebviewBot, import("@sociably/websocket").WebSocketServer, import("@sociably/core").ModuleUtilities, import("./types.js").WebviewPlatformUtilities]> & (new (bot: BotP, server: WebviewSocketServer, popEventWrapper: PopEventWrapper, null>, popError: PopErrorFn) => WebviewReceiver); export type ReceiverP = WebviewReceiver;