// Copyright (C) 2018-2026 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//

#pragma once

#include "openvino/pass/matcher_pass.hpp"
#include "transformations/transpose_sinking/ts_base.hpp"
#include "transformations_visibility.hpp"

namespace ov {
namespace pass {
namespace transpose_sinking {

class TRANSFORMATIONS_API TSDataMovementForward;
class TRANSFORMATIONS_API TSDataMovementBackward;

}  // namespace transpose_sinking
}  // namespace pass
}  // namespace ov

/**
 * @ingroup ov_transformation_common_api
 * @brief TSDataMovementForward transformation sinks Transpose through BatchToSpace, SpaceToBatch,
 * ReverseSequence and Pad operations in the forward direction.
 * These operations are categorized as "DataMovement" and are handled in a similar way in this transformation.
 */
class ov::pass::transpose_sinking::TSDataMovementForward : public ov::pass::transpose_sinking::TSForwardBase {
public:
    OPENVINO_RTTI("ov::pass::TSDataMovementForward", "0", ov::pass::transpose_sinking::TSForwardBase);
    TSDataMovementForward();
};

/**
 * @ingroup ov_transformation_common_api
 * @brief TSDataMovementBackward transformation sinks Transpose through BatchToSpace, SpaceToBatch,
 * ReverseSequence and Pad operations in the backward direction.
 * These operations are categorized as "DataMovement" and are handled in a similar way in this transformation.
 */
class ov::pass::transpose_sinking::TSDataMovementBackward : public ov::pass::MatcherPass {
public:
    OPENVINO_MATCHER_PASS_RTTI("ov::pass::TSDataMovementBackward");
    TSDataMovementBackward();
};
