import type { AuthenticatedGovernanceProjectService } from './authenticated-project-service.js'; import type { GovernanceServiceCredential } from './capability-grant.js'; import type { GovernanceObservationCategory, StoredGovernanceObservation } from './event-store.js'; interface LegacyRuntimeObservation { readonly observationId: string; readonly taskId?: string | undefined; readonly category: GovernanceObservationCategory; readonly observedAt: string; readonly payload: Readonly>; } type LegacyShadowObservationResult = { readonly observed: true; readonly idempotentReplay: boolean; readonly observation: StoredGovernanceObservation; } | { readonly observed: false; readonly code: string; readonly message: string; }; /** * Observe-only compatibility adapter. It can append shadow observations but has no command capability * and therefore cannot create tasks, transition canonical state, or block the legacy runtime. */ export declare class LegacyGovernanceShadowAdapter { private readonly service; private readonly source; private readonly credential; private requestSequence; constructor(service: AuthenticatedGovernanceProjectService, source: string, credential: GovernanceServiceCredential); observe(observation: LegacyRuntimeObservation): LegacyShadowObservationResult; private toResult; } export {}; //# sourceMappingURL=legacy-shadow-adapter.d.ts.map