# sig/sentry/rails/background_worker.rbs

class Sentry::BackgroundWorker
  def _perform: () -> untyped
end


# sig/sentry/rails/action_cable.rbs

class Sentry::Rails::ActionCableExtensions::ErrorHandler
  def capture: () -> untyped
  def finish_transaction: () -> untyped
  def start_transaction: () -> untyped
end


# sig/sentry/rails/backtrace_cleaner.rbs

class Sentry::Rails::BacktraceCleaner < Sentry::Rails::ActiveSupport::BacktraceCleaner
  def initialize: () -> void
end


# sig/sentry/rails/capture_exceptions.rbs

class Sentry::Rails::CaptureExceptions < Sentry::Rails::Sentry::Rack::CaptureExceptions
  def capture_exception: () -> untyped
  def collect_exception: () -> untyped
  def initialize: () -> void
  def start_transaction: () -> untyped
  def transaction_op: () -> untyped
end


# sig/sentry/rails/configuration.rbs

class Sentry::Rails::Configuration
  def initialize: () -> void
end


# sig/sentry/rails/rescued_exception_interceptor.rbs

class Sentry::Rails::RescuedExceptionInterceptor
  def call: () -> untyped
  def initialize: () -> void
  def report_rescued_exceptions?: () -> untyped
end


# sig/sentry/rails/tracing/abstract_subscriber.rbs

class Sentry::Rails::Tracing::AbstractSubscriber
  def record_on_current_span: () -> untyped
  def subscribe!: () -> untyped
  def subscribe_to_event: () -> untyped
  def subscribe_to_event: () -> untyped
  def unsubscribe!: () -> untyped
end


# sig/sentry/rails/tracing/action_controller_subscriber.rbs

class Sentry::Rails::Tracing::ActionControllerSubscriber < Sentry::Rails::Tracing::AbstractSubscriber
  def self.subscribe!: () -> untyped
end


# sig/sentry/rails/tracing/action_view_subscriber.rbs

class Sentry::Rails::Tracing::ActionViewSubscriber < Sentry::Rails::Tracing::AbstractSubscriber
  def self.subscribe!: () -> untyped
end


# sig/sentry/rails/tracing/active_record_subscriber.rbs

class Sentry::Rails::Tracing::ActiveRecordSubscriber < Sentry::Rails::Tracing::AbstractSubscriber
  def self.subscribe!: () -> untyped
end


# sig/sentry/rails/tracing/active_storage_subscriber.rbs

class Sentry::Rails::Tracing::ActiveStorageSubscriber < Sentry::Rails::Tracing::AbstractSubscriber
  def self.subscribe!: () -> untyped
end


# sig/sentry/rails/railtie.rbs

class Sentry::Railtie < Rails::Railtie
  def activate_tracing: () -> untyped
  def configure_project_root: () -> untyped
  def configure_trusted_proxies: () -> untyped
  def extend_controller_methods: () -> untyped
  def inject_breadcrumbs_logger: () -> untyped
  def override_streaming_reporter: () -> untyped
  def patch_background_worker: () -> untyped
  def setup_backtrace_cleanup_callback: () -> untyped
end


# tmp/gems/sentry-rails/4.9.0/data/app/jobs/sentry/send_event_job.rbs

class Sentry::SendEventJob
  def perform: () -> untyped
end


# sig/sentry/rails/action_cable.rbs

module Sentry::Rails::ActionCableExtensions::Channel::Actions
  def dispatch_action: () -> untyped
end


# sig/sentry/rails/action_cable.rbs

module Sentry::Rails::ActionCableExtensions::Channel::Subscriptions
  def self.included: () -> untyped
  def sentry_capture: () -> untyped
end


# sig/sentry/rails/action_cable.rbs

module Sentry::Rails::ActionCableExtensions::Connection
  def handle_close: () -> untyped
  def handle_open: () -> untyped
end


# sig/sentry/rails/active_job.rbs

module Sentry::Rails::ActiveJobExtensions
  def already_supported_by_sentry_integration?: () -> untyped
  def capture_and_reraise_with_sentry: () -> untyped
  def finish_sentry_transaction: () -> untyped
  def perform_now: () -> untyped
  def sentry_context: () -> untyped
end


# sig/sentry/rails/breadcrumb/active_support_logger.rbs

module Sentry::Rails::Breadcrumb::ActiveSupportLogger
  def add: () -> untyped
  def detach: () -> untyped
  def inject: () -> untyped
end


# sig/sentry/rails/breadcrumb/monotonic_active_support_logger.rbs

module Sentry::Rails::Breadcrumb::MonotonicActiveSupportLogger
  def add: () -> untyped
  def detach: () -> untyped
  def inject: () -> untyped
end


# sig/sentry/rails/controller_methods.rbs

module Sentry::Rails::ControllerMethods
  def capture_exception: () -> untyped
  def capture_message: () -> untyped
  def with_request_scope: () -> untyped
end


# sig/sentry/rails/controller_transaction.rbs

module Sentry::Rails::ControllerTransaction
  def self.included: () -> untyped
end


# sig/sentry/rails/instrument_payload_cleanup_helper.rbs

module Sentry::Rails::InstrumentPayloadCleanupHelper
  def cleanup_data: () -> untyped
end


# sig/sentry/rails/overrides/streaming_reporter.rbs

module Sentry::Rails::Overrides::OldStreamingReporter
  def self.included: () -> untyped
  def log_error_with_raven: () -> untyped
end


# sig/sentry/rails/overrides/streaming_reporter.rbs

module Sentry::Rails::Overrides::StreamingReporter
  def log_error: () -> untyped
end


# sig/sentry/rails/tracing.rbs

module Sentry::Rails::Tracing
  def self.get_current_transaction: () -> untyped
  def self.patch_active_support_notifications: () -> untyped
  def self.register_subscribers: () -> untyped
  def self.remove_active_support_notifications_patch: () -> untyped
  def self.subscribe_tracing_events: () -> untyped
  def self.subscribed_tracing_events: () -> untyped
  def self.subscribers: () -> untyped
  def self.unsubscribe_tracing_events: () -> untyped
  def instrument: () -> untyped
  def instrument: () -> untyped
end
