/** * Determines a number for a given Matrix ID or room ID, helps disambiguating users * who are trying to impersonate someone else. * * {@link https://github.com/element-hq/compound-web/blob/5950e6827aaaca5a0b2540093f0b168ca590e8ca/src/components/Avatar/useIdColorHash.ts#L23} * @copyright Copyright 2023 New Vector Ltd * * @param id - a Matrix ID or room ID * @returns a hash of the ID provided */ export declare function useIdColorHash(id: string): number; export declare const isColorHash: (value: number) => value is 1 | 2 | 3 | 4 | 5 | 6;