import type { dispatchCoreContextOnBackgroundEndpoint, Rpc } from '../index.js'; import { type LynxContextEventTarget } from '../types/LynxContextEventTarget.js'; export declare class LynxCrossThreadContext extends EventTarget implements LynxContextEventTarget { private _config; constructor(_config: { rpc: Rpc; receiveEventEndpoint: typeof dispatchCoreContextOnBackgroundEndpoint; sendEventEndpoint: typeof dispatchCoreContextOnBackgroundEndpoint; }); postMessage(...args: any[]): void; dispatchEvent(event: ContextCrossThreadEvent): 3; __start(): void; }