import { resetAnswer } from './generated-answer-actions.js';
import { generatedAnswerReducer as generatedAnswer } from './generated-answer-slice.js';
/**
 * Loads the `generatedAnswer` reducer and returns possible action creators.
 *
 * @param engine - The headless engine.
 * @returns An object holding the action creators.
 *
 * @group Actions
 * @category GeneratedAnswer
 */
export function loadGeneratedAnswerActions(engine) {
    engine.addReducers({ generatedAnswer });
    return {
        resetAnswer,
    };
}
