export interface ScopeNamespace { entityType: string; entityId: string; raw: string; } export interface ParsedScope { raw: string; resource: string; action: string; namespace?: ScopeNamespace; isWildcardAll: boolean; } export interface EntityScopeDecision { allowed: boolean; reason: string; matchedScope?: string; } export declare function parseScope(rawScope: string): ParsedScope; export declare function validateScopeList(scopes: string[]): void; export declare function scopeMatchesFamily(scope: string, requiredScope: string): boolean; export declare function scopeMatchesGlobal(scope: string, requiredScope: string): boolean; export declare function evaluateEntityScopeAccess(grantedScopes: string[], requiredScope: string, entityType: string, entityId: string): EntityScopeDecision; //# sourceMappingURL=scopes.d.ts.map