import { c as Profiles, o as PermissionTiers } from "./schema-BXTTXvJl.mjs"; //#region src/profiles.d.ts /** Where a profile's `extends` does not lead to a usable parent. */ export interface ProfileProblem { /** The profile whose `extends` is wrong. */ profile: string; message: string; } /** Every profile whose `extends` names a profile that does not exist, or that loops back on itself. */ export declare function profileProblems(profiles: Profiles | undefined): ProfileProblem[]; /** * Flatten `extends`: every profile with its parents' rules ahead of its own and no `extends` left. * * @throws Error if a profile extends one that does not exist or the profiles extend each other in a cycle. */ export declare function resolveProfiles(profiles: Profiles | undefined): Record; //#endregion //# sourceMappingURL=profiles.d.mts.map