#ifndef RUBY_TYPER_LSP_REQUESTS_RENAME_H
#define RUBY_TYPER_LSP_REQUESTS_RENAME_H

#include "main/lsp/LSPTask.h"
#include "main/lsp/json_types.h"

namespace sorbet::realmain::lsp {
class RenameParams;
class RenameTask final : public LSPRequestTask {
    std::unique_ptr<RenameParams> params;

public:
    RenameTask(const LSPConfiguration &config, MessageId id, std::unique_ptr<RenameParams> params);

    std::unique_ptr<ResponseMessage> runRequest(LSPTypecheckerDelegate &typechecker) override;

    core::packages::Stratum preemptionStratum(FileStratumMapping info) const override;
};

} // namespace sorbet::realmain::lsp

#endif
