# This file is autogenerated. Do not edit it by hand. Regenerate it with: # srb rbi gems # typed: ignore # # If you would like to make changes to this file, great! Please create the gem's shim here: # # https://github.com/sorbet/sorbet-typed/new/master?filename=lib/kramdown/all/kramdown.rbi # # kramdown-2.3.1 module Kramdown def self.data_dir; end end class Kramdown::Element def attr; end def block?; end def children; end def children=(arg0); end def initialize(type, value = nil, attr = nil, options = nil); end def inspect; end def options; end def self.category(el); end def span?; end def type; end def type=(arg0); end def value; end def value=(arg0); end end class Kramdown::Error < RuntimeError end module Kramdown::Parser end module Kramdown::Utils def self.camelize(name); end def self.deep_const_get(str); end def self.snake_case(name); end end module Kramdown::Utils::Configurable def configurable(name); end end module Kramdown::Converter def self.add_math_engine(data, *args, &block); end def self.add_syntax_highlighter(data, *args, &block); end def self.configurables; end def self.math_engine(data); end def self.syntax_highlighter(data); end extend Kramdown::Utils::Configurable end module Kramdown::Options def self.defaults; end def self.define(name, type, default, desc, &block); end def self.defined?(name); end def self.definitions; end def self.merge(hash); end def self.parse(name, data); end def self.simple_array_validator(val, name, size = nil); end def self.simple_hash_validator(val, name); end def self.str_to_sym(data); end end class Kramdown::Options::Boolean def self.===(other); end end class Kramdown::Options::Definition < Struct def default; end def default=(_); end def desc; end def desc=(_); end def name; end def name=(_); end def self.[](*arg0); end def self.inspect; end def self.members; end def self.new(*arg0); end def type; end def type=(_); end def validator; end def validator=(_); end end class Kramdown::Document def initialize(source, options = nil); end def inspect; end def method_missing(id, *attr, &block); end def options; end def root; end def root=(arg0); end def try_require(type, name); end def warnings; end end class Kramdown::Parser::Base def adapt_source(source); end def add_text(text, tree = nil, type = nil); end def extract_string(range, strscan); end def initialize(source, options); end def options; end def parse; end def root; end def self.allocate; end def self.new(*arg0); end def self.parse(source, options = nil); end def source; end def warning(text); end def warnings; end end class Kramdown::Parser::Kramdown < Kramdown::Parser::Base def add_header(level, text, id); end def add_link(el, href, title, alt_text = nil, ial = nil); end def after_block_boundary?; end def before_block_boundary?; end def configure_parser; end def correct_abbreviations_attributes; end def fetch_pattern(type, indentation); end def handle_extension(name, opts, body, type, line_no = nil); end def handle_kramdown_html_tag(el, closed, handle_body); end def initialize(source, options); end def new_block_el(*args); end def normalize_link_id(id); end def paragraph_end; end def parse; end def parse_abbrev_definition; end def parse_attribute_list(str, opts); end def parse_atx_header; end def parse_autolink; end def parse_blank_line; end def parse_block_extensions; end def parse_block_html; end def parse_block_math; end def parse_blockquote; end def parse_blocks(el, text = nil); end def parse_codeblock; end def parse_codeblock_fenced; end def parse_codespan; end def parse_definition_list; end def parse_emphasis; end def parse_eob_marker; end def parse_escaped_chars; end def parse_extension_start_tag(type); end def parse_first_list_line(indentation, content); end def parse_footnote_definition; end def parse_footnote_marker; end def parse_header_contents; end def parse_horizontal_rule; end def parse_html_entity; end def parse_inline_math; end def parse_line_break; end def parse_link; end def parse_link_definition; end def parse_list; end def parse_paragraph; end def parse_setext_header; end def parse_smart_quotes; end def parse_span_extensions; end def parse_span_html; end def parse_spans(el, stop_re = nil, parsers = nil, text_type = nil); end def parse_table; end def parse_typographic_syms; end def replace_abbreviations(el, regexps = nil); end def reset_env(opts = nil); end def restore_env(env); end def save_env; end def self.define_parser(name, start_re, span_start = nil, meth_name = nil); end def self.has_parser?(name); end def self.parser(name = nil); end def span_parser_regexps(parsers = nil); end def span_pattern_cache(stop_re, span_start); end def update_attr_with_ial(attr, ial); end def update_ial_with_ial(ial, opts); end def update_link_definitions(link_defs); end def update_raw_text(item); end def update_tree(element); end include Kramdown include Kramdown::Parser::Html::Parser end module Kramdown::Utils::Entities def entity(point_or_name); end def self.entity(point_or_name); end end class Kramdown::Utils::Entities::Entity < Struct def char; end def code_point; end def code_point=(_); end def name; end def name=(_); end def self.[](*arg0); end def self.inspect; end def self.members; end def self.new(*arg0); end end class Kramdown::Parser::Html < Kramdown::Parser::Base def parse; end include Kramdown::Parser::Html::Parser end module Kramdown::Parser::Html::Constants end module Kramdown::Parser::Html::Parser def handle_html_start_tag(line = nil); end def handle_raw_html_tag(name); end def parse_html_attributes(str, line = nil, in_html_tag = nil); end def parse_raw_html(el, &block); end include Kramdown::Parser::Html::Constants end class Kramdown::Parser::Html::ElementConverter def convert_a(el); end def convert_b(el); end def convert_code(el); end def convert_em(el); end def convert_h1(el); end def convert_h2(el); end def convert_h3(el); end def convert_h4(el); end def convert_h5(el); end def convert_h6(el); end def convert_i(el); end def convert_pre(el); end def convert_script(el); end def convert_strong(el); end def convert_table(el); end def convert_textarea(el); end def extract_text(el, raw); end def handle_math_tag(el); end def initialize(root); end def is_math_tag?(el); end def is_simple_table?(el); end def process(el, do_conversion = nil, preserve_text = nil, parent = nil); end def process_children(el, do_conversion = nil, preserve_text = nil); end def process_html_element(el, do_conversion = nil, preserve_text = nil); end def process_text(raw, preserve = nil); end def remove_text_children(el); end def remove_whitespace_children(el); end def self.convert(root, el = nil); end def set_basics(el, type, opts = nil); end def strip_whitespace(el); end def wrap_text_children(el); end include Kramdown::Parser::Html::Constants include Kramdown::Utils::Entities end class Kramdown::Parser::Kramdown::Data < Struct def method; end def method=(_); end def name; end def name=(_); end def self.[](*arg0); end def self.inspect; end def self.members; end def self.new(*arg0); end def span_start; end def span_start=(_); end def start_re; end def start_re=(_); end end