use crate::encode;
use crate::pset::{self, raw};
pub(crate) trait Map {
fn insert_pair(&mut self, pair: raw::Pair) -> Result<(), encode::Error>;
fn get_pairs(&self) -> Result<Vec<raw::Pair>, encode::Error>;
fn merge(&mut self, other: Self) -> Result<(), pset::Error>;
}
mod global;
mod input;
mod output;
pub use self::global::Global;
pub use self::global::TxData as GlobalTxData;
pub use self::input::Input;
pub use self::input::PsbtSighashType;
pub use self::output::Output;
pub use self::output::TapTree;