use std::{
    any::Any,
    hash::BuildHasherDefault,
};
use node_ref::NodeMask;
use rustc_hash::FxHasher;
pub mod attributes;
pub mod dioxus;
pub mod events;
pub mod node;
pub mod node_ref;
mod passes;
pub mod real_dom;
pub mod tags;
pub mod tree;
pub use shipyard::EntityId as NodeId;
pub mod exports {
    #[doc(hidden)]
    pub use rustc_hash::FxHashSet;
    pub use shipyard;
}
pub mod prelude {
    pub use crate::{
        attributes::*,
        dioxus::*,
        events::*,
        node::{
            ElementNode,
            FromAnyValue,
            NodeType,
            OwnedAttributeView,
        },
        node_ref::{
            AttributeMaskBuilder,
            NodeMaskBuilder,
            NodeView,
        },
        passes::{
            run_pass,
            Dependancy,
            DependancyView,
            Dependants,
            PassDirection,
            RunPassView,
            State,
            TypeErasedState,
        },
        real_dom::{
            NodeImmutable,
            NodeMut,
            NodeRef,
            RealDom,
        },
        NodeId,
        SendAnyMap,
    };
}
pub type FxDashMap<K, V> = dashmap::DashMap<K, V, BuildHasherDefault<FxHasher>>;
pub type FxDashSet<K> = dashmap::DashSet<K, BuildHasherDefault<FxHasher>>;
pub type SendAnyMap = anymap::Map<dyn Any + Send + Sync + 'static>;