#pragma once
// 定义解析器阶段接口
#include <vector>

#include "core/models/DOMMessage.h"
#include "core/models/RawBusMessage.h"

namespace softbus::message_bus::pipeline::stages::parsers
{

class IParserStage
{
public:
    virtual ~IParserStage() = default;
    virtual std::vector<softbus::core::models::DOMMessage> parse(
        const softbus::core::models::RawBusMessage& rawContext) = 0;
};

} // namespace softbus::message_bus::pipeline::stages::parsers
