export interface InvalidationTarget {
    from: string;
    to: string | null;
    type: 'migration' | 'removal' | 'deprecation';
}
export interface InvalidationResult {
    invalidated: number;
    targets: string[];
}
/**
 * Extract what was replaced/removed from a commit message.
 * Returns null if the commit isn't a breaking/migration change.
 */
export declare function extractInvalidationTarget(message: string): InvalidationTarget | null;
/**
 * Find memories that reference the invalidated pattern and weaken them.
 * - Halves half_life_days
 * - Sets confidence to 'stale'
 * - Adds 'invalidated' tag
 * - Skips pinned memories
 */
export declare function invalidateMatching(hippoRoot: string, target: InvalidationTarget, tenantId?: string): InvalidationResult;
//# sourceMappingURL=invalidation.d.ts.map