/** * Stable Key Generation Utilities * * Provides utilities for generating stable, predictable keys for React components * to avoid key prop warnings and ensure consistent rendering. */ /** * Generates a stable key for an item based on its properties and context * @param item - The item to generate a key for * @param prefix - A prefix to add to the key for context * @param index - Fallback index if no stable property is found * @returns A stable string key */ export declare function getItemKey>(item: T, prefix?: string, index?: number): string; /** * Generates a static key for simple cases where you have a prefix and identifier * @param prefix - The prefix for the key * @param identifier - The identifier (usually an index or id) * @returns A stable string key */ export declare function generateStaticKey(prefix: string, identifier: string | number): string; //# sourceMappingURL=stable-key.d.ts.map