import type { RuntimeEventBus, RuntimeEventEnvelope } from '../../events/index.js'; import type { RuntimeTracer } from '../tracer.js'; import type { Span } from '../types.js'; export type Env = RuntimeEventEnvelope; export type SpanMap = Map; export interface DomainBridgeHelpers { readonly tracer: RuntimeTracer; readonly safe: (action: () => void) => void; readonly withSpan: (map: SpanMap, key: string, action: (span: Span) => void) => void; readonly closeSpan: (map: SpanMap, key: string, action: (span: Span) => void) => void; } export interface DomainBridgeAttachmentInput { readonly bus: RuntimeEventBus; readonly helpers: DomainBridgeHelpers; } //# sourceMappingURL=domain-bridge-shared.d.ts.map