import type { EventBus } from '../kernel/events.js'; import type { PluginAPI } from '../types/plugin.js'; import type { ReviewContextBundle } from './review-types.js'; /** * Record review events emitted outside the automatic plugin paths, such as * `/review`, so the post-session pass also avoids repeating those files. */ export declare function recordStartedReview(events: EventBus, payload: unknown): void; /** * Release the exact claims associated with a completed review bundle. Bundle * identity prevents an older completion from removing newer in-flight claims. */ export declare function recordCompletedReview(events: EventBus, payload: unknown): void; /** * Atomically claim review inputs and emit only files whose exact content does * not already have a review in progress. The returned bundle contains only * claimed files and may be a strict subset of the input. * * Claims are installed immediately before the synchronous event emission, so * concurrent mid/post-session handlers cannot enqueue the same content twice. * A synchronous emit failure rolls the claims back. */ export declare function emitReviewIfChanged(api: Pick, bundle: ReviewContextBundle): ReviewContextBundle | null; //# sourceMappingURL=review-claim-registry.d.ts.map