/** * Hash Functions for Percentage Rollouts * * Provides consistent hashing for user bucketing in rollouts. * * @module flags/advanced/hash-function */ /** * Hash function type for consistent user bucketing. */ export type HashFunction = (key: string, salt?: string) => number; /** * Default hash function using a simple but effective algorithm. * Returns a value between 0 and 100. */ export declare function defaultHashFunction(key: string, salt?: string): number;