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

import Foundation
import NitroModules

/// See ``HybridNitroSystemNavigationBarSpec``
public protocol HybridNitroSystemNavigationBarSpec_protocol: HybridObject {
  // Properties
  

  // Methods
  func getNavigationBarHeight() throws -> Double
  func hideNavigationBar() throws -> Void
  func showNavigationBar() throws -> Void
  func enableImmersiveSticky() throws -> Void
  func exitImmersiveMode() throws -> Void
  func setNavigationBarColor(color: Double, isTranslucent: Bool?) throws -> Void
  func setLightNavigationBar(isLight: Bool) throws -> Void
}

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

/**
 * A Swift base-protocol representing the NitroSystemNavigationBar HybridObject.
 * Implement this protocol to create Swift-based instances of NitroSystemNavigationBar.
 * ```swift
 * class HybridNitroSystemNavigationBar : HybridNitroSystemNavigationBarSpec {
 *   // ...
 * }
 * ```
 */
public typealias HybridNitroSystemNavigationBarSpec = HybridNitroSystemNavigationBarSpec_protocol & HybridNitroSystemNavigationBarSpec_base
