import { IJwtPayload } from './IJwtPayload'; declare class ScopeArray extends Array { /** * Check if scope key exists * @param key * @returns boolean */ has(key: string): boolean; /** * Get first scope value that match with key * @param key * @returns string | undefined */ first(key: string): string | undefined; /** * Get all scope values that match the key * @param key * @returns string[] */ getAll(key: string): string[]; } /** * Provide access to the jwt payload * and provide functions to work with user scopes * @class UserInfo */ export declare class UserInfo { private readonly payload; constructor(payload: IJwtPayload); getInfo(): IJwtPayload; getScopes(): ScopeArray; } export {};