///
/// HybridLunarDatePickerSpec.swift
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
/// https://github.com/mrousavy/nitro
/// Copyright © Marc Rousavy @ Margelo
///

import NitroModules

/// See ``HybridLunarDatePickerSpec``
public protocol HybridLunarDatePickerSpec_protocol: HybridObject {
  // Properties
  

  // Methods
  func present(params: LDP_PresentParams) throws -> Void
  func configure(config: LDP_ConfigParams) throws -> Void
}

public extension HybridLunarDatePickerSpec_protocol {
  /// Default implementation of ``HybridObject.toString``
  func toString() -> String {
    return "[HybridObject LunarDatePicker]"
  }
}

/// See ``HybridLunarDatePickerSpec``
open class HybridLunarDatePickerSpec_base {
  private weak var cxxWrapper: HybridLunarDatePickerSpec_cxx? = nil
  public init() { }
  public func getCxxWrapper() -> HybridLunarDatePickerSpec_cxx {
  #if DEBUG
    guard self is any HybridLunarDatePickerSpec else {
      fatalError("`self` is not a `HybridLunarDatePickerSpec`! Did you accidentally inherit from `HybridLunarDatePickerSpec_base` instead of `HybridLunarDatePickerSpec`?")
    }
  #endif
    if let cxxWrapper = self.cxxWrapper {
      return cxxWrapper
    } else {
      let cxxWrapper = HybridLunarDatePickerSpec_cxx(self as! any HybridLunarDatePickerSpec)
      self.cxxWrapper = cxxWrapper
      return cxxWrapper
    }
  }
}

/**
 * A Swift base-protocol representing the LunarDatePicker HybridObject.
 * Implement this protocol to create Swift-based instances of LunarDatePicker.
 * ```swift
 * class HybridLunarDatePicker : HybridLunarDatePickerSpec {
 *   // ...
 * }
 * ```
 */
public typealias HybridLunarDatePickerSpec = HybridLunarDatePickerSpec_protocol & HybridLunarDatePickerSpec_base
