import { IoThread } from "./IoThread.js";
import { IoEvent, IoNotification } from "./PlatformBindings.js";
/**
 * Base class for ShareWorker threads.
 */
export declare class SharedWorkerThread extends IoThread {
    ports: MessagePort[];
    initialize(): Promise<void>;
    connectHandler(e: MessageEvent): void;
    postMessage(message: IoNotification | IoEvent): void;
    protected messageHandler(e: MessageEvent): void;
}
//# sourceMappingURL=SharedWorkerThread.d.ts.map