/**
 * Workers are expected to implement the MessagePort type where = onmessage()
 * is the worker ingress / runtime egress and postMessage() is the worker
 * egress / runtime ingress. See WorkerDispatcher.bindToWorkerPort() references
 * for where the runtime-worker bidirectional connection is established.
 */
import type { Config } from '@devvit/shared-types/Config.js';
declare global {
    var devvit: DevvitWorkerGlobal | undefined;
}
export type DevvitWorkerGlobal = {
    /** See bundle.template.cjs and PlatformUtil. */
    compute?: {
        platform: 'web' | 'go' | 'node';
    };
    config?: Config;
};
//# sourceMappingURL=DevvitWorkerGlobal.d.ts.map