import type { CollectionRequest, GovernanceJob, Operation, OwnerState, StateStore } from './types.js'; export declare function governanceCandidateText(payload: string): string; export declare function governancePending(state: OwnerState, scope: string | null): boolean; export declare function governanceHoldsDelivery(state: OwnerState, operation: Operation): boolean; export declare function governanceCollectionJob(state: OwnerState, request: CollectionRequest): GovernanceJob | undefined; export declare function governanceHoldsCollection(state: OwnerState, request: CollectionRequest): boolean; export declare function sourceRevoked(state: OwnerState, scope: string | null, entryId: string, factDigest?: string): boolean; export declare function sourceReplayRevoked(state: OwnerState, scope: string | null, entryId: string): boolean; export declare function operationRevoked(state: OwnerState, operation: Operation): boolean; export declare function blockRevokedOperations(state: OwnerState): void; /** Durable beginning of governance; no remote work or success acknowledgement. * Trusted host resolves an unambiguous document before calling this service. * Completion belongs to the coordinator that drains writers and verifies cleanup. */ export declare class MemoryGovernanceBarrier { private readonly store; constructor(store: StateStore); begin(input: { kind: GovernanceJob['kind']; scope: string | null; memoryUri?: string; selectivePlan?: GovernanceJob['selectivePlan']; supersedePending?: boolean; verifiedCoalescedOperationIds?: string[]; }): Promise; /** Resolve a pre-barrier fact while the target text is still available to the job. */ classifyWriter(jobId: string, operationId: string, decision: 'target' | 'unrelated'): Promise; }