import type { TConstValue } from '@venizia/ignis-helpers/common'; export declare class AuthorizationEnforcerTypes { static readonly CASBIN = "casbin"; static readonly CUSTOM = "custom"; static readonly SCHEME_SET: Set; static isValid(input: string): boolean; } export type TAuthorizationEnforcerType = TConstValue; export declare class CasbinEnforcerCachedDrivers { static readonly REDIS = "redis"; static readonly SCHEME_SET: Set; static isValid(input: string): boolean; } export type TCasbinEnforcerCachedDriver = TConstValue; export declare class CasbinEnforcerModelDrivers { static readonly FILE = "file"; static readonly TEXT = "text"; static readonly SCHEME_SET: Set; static isValid(input: string): boolean; } export type TCasbinEnforcerModelDriver = TConstValue; export declare class CasbinDomainMatchingFunctions { /** `*` is the only wildcard; exact compare otherwise. Safest for `Merchant_` domains. */ static readonly KEY_MATCH = "keyMatch"; /** Adds URL-path `:param` segment matching. */ static readonly KEY_MATCH_2 = "keyMatch2"; /** Adds `{param}` segment matching. */ static readonly KEY_MATCH_3 = "keyMatch3"; /** `{param}` matching with repeated-name equality checks. */ static readonly KEY_MATCH_4 = "keyMatch4"; /** Treats the stored/policy value as a full regular expression. */ static readonly REGEX_MATCH = "regexMatch"; static readonly SCHEME_SET: Set; static isValid(input: string): boolean; } export type TCasbinDomainMatchingFunction = TConstValue; /** Relation prefixes the Casbin MODEL declares (`p` + `g`..`g5`), which {@link AuthorizationPolicyVariants} maps onto (many app edge-types -> one rule). Keep in sync with the model's `[role_definition]`. */ export declare class CasbinRuleVariants { /** Permission policy line. */ static readonly P = "p"; /** Numbered in request-tuple order (sub -> dom -> obj -> act): g (sub), g2/g3 (dom), g4 (obj), g5 (act). */ /** Grouping #1 - role membership + role inheritance (user→role, role→role). The `sub` axis. */ static readonly G = "g"; /** Grouping #2 - user→domain membership (join_domain). The `dom` axis (membership). */ static readonly G2 = "g2"; /** Grouping #3 - domain hierarchy. The `dom` axis (nesting). */ static readonly G3 = "g3"; /** Grouping #4 - resource hierarchy. The `obj` axis. */ static readonly G4 = "g4"; /** Grouping #5 - action hierarchy. The `act` axis. */ static readonly G5 = "g5"; } export type TCasbinRuleVariant = TConstValue; //# sourceMappingURL=enforcer.d.ts.map