/** * (!) We have a copy of this file in the packages/shared, so we need to keep them in sync. */ import type { RbacConfig, RbacScopeItems } from '@redocly/config'; import { type ProjectRole } from './rbac.js'; type ParsedTeam = { projectRole: ProjectRole; teamPathSegment: string; teamName: string; }; /** * (!) See the note in the top of the file. */ export declare function expandRbacConfig(rbacConfig: RbacConfig | undefined, teamNames: string[]): RbacConfig | undefined; /** * (!) See the note in the top of the file. */ export declare function canExpandConfig(rbacConfig: RbacConfig): boolean; /** * (!) See the note in the top of the file. */ export declare function parseTeamNameTemplate(rbacConfig: RbacConfig, teamName: string): Partial | null; /** * (!) See the note in the top of the file. */ export declare function parseTeamFoldersTemplate(rbacConfig: RbacConfig, paths: string[]): { teamPathSegment: string; } | null; /** * (!) See the note in the top of the file. */ export declare function parseTeams(rbacConfig: RbacConfig, teams: string[]): ParsedTeam[]; /** * (!) See the note in the top of the file. */ export declare function getTeamFolderDefaults(rbacConfig: RbacConfig): Record; export {}; //# sourceMappingURL=rbac-expand.d.ts.map