declare type AllProjects = ["projects-all"] | ["projects-unrelated"]; declare type AllEnvironments = ["environments-all"] | ["environments-unrelated"]; declare type AllTenants = ["tenants-all"] | ["tenants-unrelated"]; declare type AllProjectGroups = ["projectgroups-all"] | ["projectgroups-unrelated"]; declare type SubsetOfProjects = string[]; declare type SubsetOfEnvironments = string[]; declare type SubsetOfTenants = string[]; declare type SubsetOfProjectGroups = string[]; declare type ProjectIdRestrictions = SubsetOfProjects | AllProjects; declare type EnvironmentIdRestrictions = SubsetOfEnvironments | AllEnvironments; declare type TenantIdRestrictions = SubsetOfTenants | AllTenants; declare type ProjectGroupIdRestrictions = SubsetOfProjectGroups | AllProjectGroups; export interface UserPermissionRestriction { RestrictedToProjectIds: ProjectIdRestrictions; RestrictedToEnvironmentIds: EnvironmentIdRestrictions; RestrictedToTenantIds: TenantIdRestrictions; RestrictedToProjectGroupIds: ProjectGroupIdRestrictions; SpaceId: string; } export declare function isAllProjects(restrictions: ProjectIdRestrictions): restrictions is AllProjects; export declare function isAllEnvironments(restrictions: EnvironmentIdRestrictions): restrictions is AllEnvironments; export declare function isAllTenants(restrictions: TenantIdRestrictions): restrictions is AllTenants; export declare function isAllProjectGroups(restrictions: ProjectGroupIdRestrictions): restrictions is AllProjectGroups; export {};