export declare class ScopeSet { /** * Check if there are dup scopes in a given request * * @param cachedScopes * @param scopes */ static isIntersectingScopes(cachedScopes: Array, scopes: Array): boolean; /** * Check if a given scope is present in the request * * @param cachedScopes * @param scopes */ static containsScope(cachedScopes: Array, scopes: Array): boolean; /** * toLower * * @param scopes */ static convertToLowerCase(scopes: Array): Array; /** * remove one element from a scope array * * @param scopes * @param scope */ static removeElement(scopes: Array, scope: string): Array; /** * Parse the scopes into a formatted scopeList * @param scopes */ static parseScope(scopes: Array): string; /** * @hidden * * Used to validate the scopes input parameter requested by the developer. * @param {Array} scopes - Developer requested permissions. Not all scopes are guaranteed to be included in the access token returned. * @param {boolean} scopesRequired - Boolean indicating whether the scopes array is required or not * @ignore */ static validateInputScope(scopes: Array, scopesRequired: boolean, clientId: string): void; /** * @hidden * * Extracts scope value from the state sent with the authentication request. * @param {string} state * @returns {string} scope. * @ignore */ static getScopeFromState(state: string): string; /** * @ignore * Appends extraScopesToConsent if passed * @param {@link AuthenticationParameters} */ static appendScopes(reqScopes: Array, reqExtraScopesToConsent: Array): Array; }