import { USER_IDENTITY } from './interface'; export declare function cacheRole({ userId, role, allRoles }: { userId: string; role: USER_IDENTITY | null | undefined; allRoles?: USER_IDENTITY[] | null | undefined; }): void; export declare function getRoleCache({ userId }: { userId: string; }): any; export declare function clearRoleCache(): void; export declare function getRole({ userId }: { userId: string; }): Promise;