/*
 * Copyright (c) 2025, Salesforce, Inc.
 * SPDX-License-Identifier: Apache-2
 * For full license text, see the license.txt file in the repo root or http://www.apache.org/licenses/LICENSE-2.0
 */
/**
 * Validated safety actions for use in rule parsing.
 */
export const VALID_SAFETY_ACTIONS = ['allow', 'block', 'confirm'];
/**
 * Check if a string is a valid SafetyAction.
 */
export function isValidSafetyAction(value) {
    return VALID_SAFETY_ACTIONS.includes(value);
}
//# sourceMappingURL=types.js.map