# This file is autogenerated. Do not edit it by hand. Regenerate it with: # srb rbi gems # typed: strong # # 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/dry-struct/all/dry-struct.rbi # # dry-struct-1.1.1 module Dry def self.Struct(attributes = nil, &block); end end class Dry::Struct def [](name); end def __attributes__; end def __new__(changeset); end def attributes; end def initialize(attributes); end def inspect; end def new(changeset); end def to_h; end def to_hash; end extend Anonymous_Module_42 extend Dry::Core::Extensions extend Dry::Struct::ClassInterface include Anonymous_Dry_Equalizer_41 include Dry::Core::Constants include Dry::Equalizer::Methods end class Dry::Struct::Error < TypeError end class Dry::Struct::RepeatedAttributeError < ArgumentError def initialize(key); end end class Dry::Struct::MissingAttributeError < KeyError def initialize(key); end end class Dry::Struct::Constructor def [](input); end def call(input); end def fn; end def initialize(type, options = nil, &block); end def type; end include Anonymous_Dry_Equalizer_43 include Dry::Equalizer::Methods include Dry::Types::Type end module Anonymous_Dry_Equalizer_43 def cmp?(comparator, other); end def hash; end def inspect; end end class Dry::Struct::Sum < Dry::Types::Sum::Constrained def ===(value); end def call(input); end def try(input); end def try_struct(input); end def |(type); end end module Dry::Struct::ClassInterface def ===(other); end def attribute(name, type = nil, &block); end def attribute?(*args, &block); end def attribute_names; end def attributes(new_schema); end def build_type(name, type, &block); end def call_safe(input, &block); end def call_unsafe(input); end def check_schema_duplication(new_keys); end def constrained?; end def constructor(constructor = nil, **_options, &block); end def default?; end def default_attributes(default_schema = nil); end def failure(*args); end def has_attribute?(key); end def inherited(klass); end def load(attributes); end def meta(meta = nil); end def new(attributes = nil, safe = nil); end def optional?; end def primitive; end def primitive?(other); end def result(klass, *args); end def struct?(type); end def struct_builder; end def success(*args); end def to_proc; end def transform_keys(proc = nil, &block); end def transform_types(proc = nil, &block); end def try(input); end def try_struct(input); end def |(type); end include Dry::Core::ClassAttributes include Dry::Types::Builder include Dry::Types::Type end module Dry::Struct::Hashify def self.[](value); end end class Dry::Struct::StructBuilder < Dry::Types::Compiler def array?(type); end def call(attr_name, type, &block); end def check_name(name); end def const_name(type, attr_name); end def default_superclass; end def initialize(struct); end def parent(type); end def struct; end def visit_array(node); end def visit_constrained(node); end def visit_constructor(node); end def visit_nominal(*arg0); end end class Dry::Struct::Value < Dry::Struct def self.new(*arg0); end end module Dry::Types end class Dry::Types::Printer def visit_struct_sum(sum); end end module Anonymous_Dry_Equalizer_41 def cmp?(comparator, other); end def hash; end def inspect; end end module Anonymous_Module_42 def inherited(klass); end def schema(value = nil); end end module CleanArchitecture end module CleanArchitecture::Builders end class RSpec::ExampleGroups::CleanArchitectureBuildersAbstractActiveRecordEntityBuilder < RSpec::Core::ExampleGroup extend RSpec::Matchers::DSL end class CleanArchitecture::Builders::ExampleModel def age; end def attributes; end def main_interest; end def not_interested_in; end def other_interests; end end class CleanArchitecture::Builders::ExampleInterestModel def attributes; end def initialize(label); end def label; end end class CleanArchitecture::Builders::ExampleInterest < Dry::Struct def initialize(attributes); end def label; end extend Dry::Core::DescendantsTracker end class CleanArchitecture::Builders::ExampleEntity < Dry::Struct def forename; end def initialize(attributes); end def main_interest; end def not_interested_in; end def other_interests; end def surname; end def years_on_planet_earth; end extend Dry::Core::DescendantsTracker end