export const KEYSTONE_ATOM = "keystone";
// #region KeystoneVerb enum
/**
 * @see {@link KeystoneVerb.REVOKE}
 */
export const KEYSTONE_VERB_REVOKE = "revoke";
/**
 * @see {@link KeystoneVerb.MANAGE}
 */
export const KEYSTONE_VERB_MANAGE = "manage";
/**
 * Verbs that describe actions that can be authorized by a Keystone.
 */
export const KeystoneVerb = {
    /**
     * The specific ibGib address for the 'revoke' verb.
     * Used in Claims to indicate the Keystone should be considered dead.
     */
    REVOKE: KEYSTONE_VERB_REVOKE,
    /**
     * The meta-verb used to authorize structural changes to the Keystone,
     * specifically adding or removing challenge pools.
     *
     * "Root access" to the identity.
     *
     * Basically, this is the verb for the "admin" pool.
     */
    MANAGE: KEYSTONE_VERB_MANAGE,
};
export const KEYSTONE_VERB_VALID_VALUES = Object.values(KeystoneVerb);
export function isKeystoneVerb(value) {
    return KEYSTONE_VERB_VALID_VALUES.includes(value);
}
// #endregion KeystoneVerb enum
/**
 * Standard pool IDs can be conventionally named after their primary verb.
 */
export const POOL_ID_REVOKE = KEYSTONE_VERB_REVOKE;
export const POOL_ID_MANAGE = KEYSTONE_VERB_MANAGE;
export const POOL_ID_DEFAULT = "default";
//# sourceMappingURL=keystone-constants.mjs.map