import type { OAuth2Flows } from '../types/index.js'; export declare function isScopeTruncated(scope: string, maxVisibleScopeChars: number): boolean; export declare function getVisibleScopeLabel(scope: string, maxVisibleScopeChars: number): string; export declare function normalizeScopes(scopes?: string[]): string[]; export declare function buildScopeDescriptionIndex(flows?: OAuth2Flows): Map;