export type DiscoveryAnchorCategory = 'path' | 'opaque-id' | 'versioned-subject'; export interface DiscoveryAnchor { readonly category: DiscoveryAnchorCategory; /** Normalized value used for matching. */ readonly value: string; } export interface CandidateItem { readonly id: string; readonly content: string; } export interface SupersessionCandidate { /** Sorted ids of the active discoveries sharing these anchors. */ readonly itemIds: readonly string[]; /** Sorted anchors this group shares. */ readonly anchors: readonly DiscoveryAnchor[]; } export declare function collectDiscoveryAnchors(content: string, categories: readonly DiscoveryAnchorCategory[]): readonly DiscoveryAnchor[]; export declare function findSupersessionCandidates(items: readonly CandidateItem[], categories: readonly DiscoveryAnchorCategory[]): readonly SupersessionCandidate[]; //# sourceMappingURL=discovery-candidates.d.ts.map