# typed: true

# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `erubi` gem.
# Please instead update this file by running `bin/tapioca gem erubi`.


module Erubi
  private

  def h(_arg0); end

  class << self
    def h(_arg0); end
  end
end

class Erubi::Engine
  def initialize(input, properties = T.unsafe(nil)); end

  def bufvar; end
  def filename; end
  def src; end

  private

  def _dup_string_if_frozen(string); end
  def add_code(code); end
  def add_expression(indicator, code); end
  def add_expression_result(code); end
  def add_expression_result_escaped(code); end
  def add_postamble(postamble); end
  def add_text(text); end
  def handle(indicator, code, tailch, rspace, lspace); end
  def terminate_expression; end
  def with_buffer; end
end

Erubi::Engine::DEFAULT_REGEXP = T.let(T.unsafe(nil), Regexp)
Erubi::FREEZE_TEMPLATE_LITERALS = T.let(T.unsafe(nil), TrueClass)
Erubi::MATCH_METHOD = T.let(T.unsafe(nil), Symbol)
Erubi::RANGE_FIRST = T.let(T.unsafe(nil), Integer)
Erubi::RANGE_LAST = T.let(T.unsafe(nil), Integer)
Erubi::SKIP_DEFINED_FOR_INSTANCE_VARIABLE = T.let(T.unsafe(nil), TrueClass)
Erubi::VERSION = T.let(T.unsafe(nil), String)
