import { ApiPromise } from "@polkadot/api"; import { AddressOrPair } from "@polkadot/api/submittable/types"; import { Signer } from "@polkadot/api/types"; import { ElectrsAPI } from "./external/electrs"; import { IssueAPI } from "./parachain/issue"; import { OracleAPI } from "./parachain/oracle"; import { RedeemAPI } from "./parachain/redeem"; import { RefundAPI } from "./parachain/refund"; import { FeeAPI } from "./parachain/fee"; import { StakedRelayerAPI } from "./parachain/staked-relayer"; import { VaultsAPI } from "./parachain/vaults"; import { SystemAPI } from "./parachain/system"; import { CollateralAPI } from "./parachain/collateral"; import { TreasuryAPI } from "./parachain/treasury"; import { FaucetClient } from "./clients"; import { BTCRelayAPI } from "./parachain/btc-relay"; import { ReplaceAPI } from "./parachain/replace"; import { Network } from "bitcoinjs-lib"; export * from "./factory"; export * from "./parachain/transaction"; export declare function getBitcoinNetwork(network?: string): Network; export interface PolkaBTCAPI { readonly api: ApiPromise; readonly vaults: VaultsAPI; readonly issue: IssueAPI; readonly redeem: RedeemAPI; readonly refund: RefundAPI; readonly stakedRelayer: StakedRelayerAPI; readonly faucet: FaucetClient; readonly oracle: OracleAPI; readonly electrsAPI: ElectrsAPI; readonly btcRelay: BTCRelayAPI; readonly collateral: CollateralAPI; readonly treasury: TreasuryAPI; readonly system: SystemAPI; readonly replace: ReplaceAPI; readonly fee: FeeAPI; setAccount(account: AddressOrPair, signer?: Signer): void; readonly account: AddressOrPair | undefined; } /** * @category PolkaBTC Bridge * The type Big represents DOT or PolkaBTC denominations, * while the type BN represents Planck or Satoshi denominations. */ export declare class DefaultPolkaBTCAPI implements PolkaBTCAPI { readonly api: ApiPromise; private _account?; readonly vaults: VaultsAPI; readonly issue: IssueAPI; readonly redeem: RedeemAPI; readonly refund: RefundAPI; readonly stakedRelayer: StakedRelayerAPI; readonly faucet: FaucetClient; readonly oracle: OracleAPI; readonly electrsAPI: ElectrsAPI; readonly btcRelay: BTCRelayAPI; readonly collateral: CollateralAPI; readonly treasury: TreasuryAPI; readonly system: SystemAPI; readonly replace: ReplaceAPI; readonly fee: FeeAPI; constructor(api: ApiPromise, network?: string, _account?: AddressOrPair | undefined); setAccount(account: AddressOrPair, signer?: Signer): void; get account(): AddressOrPair | undefined; }