import type { EvidenceIndex } from './evidence-index.js';
import type { AffectedChange } from './types.js';
/** Verifier from the existing eligibility generation capture. */
export interface LeafVerifier {
    /** True while every unwatched leaf still has its recorded fingerprint. */
    verifyLeaves: (leaves: ReadonlyMap<string, string>) => Promise<boolean>;
}
/**
 * Stories owning an unwatched leaf (installed package, plugin virtual module)
 * whose content changed or can no longer be fingerprinted. Unverifiable evidence
 * counts as changed, never as unchanged.
 * @param index Retained evidence.
 * @param verifier Shared per-operation fingerprint reader.
 */
export declare function findChangedLeaves(index: EvidenceIndex, verifier: LeafVerifier): Promise<string[]>;
/**
 * Adds leaf owners to a classified change. A change that already selects
 * through a stronger reason keeps it.
 * @param change Classification of the triggering event.
 * @param leafStories Stories whose leaf changed.
 */
export declare function withLeafOwners(change: AffectedChange, leafStories: readonly string[]): AffectedChange;
//# sourceMappingURL=leaves.d.ts.map