// ===========================================================================
// CONFIGURATION
// ===========================================================================
// #region KeystoneReplenishStrategy
/**
 * replaces each used challenge, "topping up" the pool to the pool's size
 */
export const KEYSTONE_REPLENISH_STRATEGY_TOP_UP = 'top-up';
/**
 * replaces the entire pool with the new challenges
 */
export const KEYSTONE_REPLENISH_STRATEGY_REPLACE_ALL = 'replace-all';
/**
 * do not replenish, only consume
 *
 * ## intent
 * adding this for revocation
 */
export const KEYSTONE_REPLENISH_STRATEGY_CONSUME = 'consume';
/**
 * Deletes ALL challenges in the pool, regardless of how many were used.
 * The "Nuclear Option" for revocation.
 */
export const KEYSTONE_REPLENISH_STRATEGY_SCORCHED_EARTH = 'scorched-earth';
/**
 * @see {@link KeystonePoolBehavior.replenish}
 */
export const KeystoneReplenishStrategy = {
    /**
     * @see {@link KEYSTONE_REPLENISH_STRATEGY_TOP_UP}
     */
    topUp: KEYSTONE_REPLENISH_STRATEGY_TOP_UP,
    /**
     * @see {@link KEYSTONE_REPLENISH_STRATEGY_REPLACE_ALL}
     */
    replaceAll: KEYSTONE_REPLENISH_STRATEGY_REPLACE_ALL,
    /**
     * @see {@link KEYSTONE_REPLENISH_STRATEGY_CONSUME}
     */
    consume: KEYSTONE_REPLENISH_STRATEGY_CONSUME,
    /**
     * @see {@link KEYSTONE_REPLENISH_STRATEGY_SCORCHED_EARTH}
     */
    scorchedEarth: KEYSTONE_REPLENISH_STRATEGY_SCORCHED_EARTH,
};
export const KEYSTONE_REPLENISH_STRATEGY_VALID_VALUES = Object.values(KeystoneReplenishStrategy);
export function isKeystoneReplenishStrategy(x) {
    return KEYSTONE_REPLENISH_STRATEGY_VALID_VALUES.includes(x);
}
//# sourceMappingURL=keystone-types.mjs.map