import type { EventBus } from '../../events/index.js'; export interface LocalThreadRuntimeScope { eventBus: EventBus | null; } export declare function getLocalThreadRuntimeScope(): LocalThreadRuntimeScope | null; export declare function withLocalThreadRuntimeScope(scope: LocalThreadRuntimeScope, action: () => Promise): Promise;