import { RbacAdapter } from "./index.js";
//#region src/rbac-flat.d.ts
/** Role names sourced from a prior app's production role set. */
declare const FLAT_ROLE_NAMES: readonly ["owner", "admin", "moderator", "member", "guest"];
type FlatRoleName = (typeof FLAT_ROLE_NAMES)[number];
/** Default capability map sourced from a prior app's production permissions. */
declare const DEFAULT_FLAT_ROLE_CAPABILITIES: Record<FlatRoleName, readonly string[]>;
type FlatRbacConfig = {
  roleMap?: Record<string, readonly string[]>;
};
declare function createFlatRbac(config?: FlatRbacConfig): RbacAdapter;
//#endregion
export { DEFAULT_FLAT_ROLE_CAPABILITIES, FLAT_ROLE_NAMES, FlatRbacConfig, FlatRoleName, createFlatRbac };