/** Minimal shape expected from a keyed thread item. */
interface KeyedItem {
    readonly key: string;
    readonly kind: string;
}
/**
 * Dev-only hook that detects key instability in a list of keyed items.
 *
 * Compares the current render's key set against the previous render's
 * and warns when:
 *
 * - Duplicate keys exist in the current render (collision bug).
 * - A key disappears and a new key appears at the same list index
 *   (suggests a remount caused by key change, not a logical add/remove).
 * - The total number of key replacements in a single render exceeds a
 *   threshold, indicating widespread instability.
 *
 * In production builds the entire function body is dead-code-eliminated.
 */
export declare function useKeyStability(items: readonly KeyedItem[]): void;
export {};
//# sourceMappingURL=use-key-stability.d.ts.map