"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isOutputTextOrContentPartDone = isOutputTextOrContentPartDone;
const eventTypeUtils_1 = require("./eventTypeUtils.js");
const OUTPUT_TEXT_OR_CONTENT_PART_DONE_TYPES = [
    'response.output_text.done',
    'response.content_part.done',
    'response.refusal.done',
];
/** *.done (full text) — don't return as delta to avoid duplicating accumulated text. */
function isOutputTextOrContentPartDone(e, data) {
    return (0, eventTypeUtils_1.isEventOneOf)(e, data, OUTPUT_TEXT_OR_CONTENT_PART_DONE_TYPES);
}
//# sourceMappingURL=isOutputTextOrContentPartDone.js.map
