import { CborizedCliWitness, TxAux, TxSigned } from "../ledger/transaction/cbor/cborizedTx"; import { TxWitnessSet } from "../types"; import { BIP32Path } from "../types/address"; import { Network } from "../types/network"; import { AddressToPathMapper, CryptoProviderFeature, DerivationScheme } from "../types/wallet"; import { Address, DataSignature, HexString } from '../dappConnector'; export interface ICryptoProvider { network: Network; load(): Promise; isHardwareSupported(): boolean; getName(): string; getSecret(): Buffer | void; getHdPassphrase(): Buffer | void; getDerivationScheme(): DerivationScheme; getVersion(): string | null; isFeatureSupported(feature: CryptoProviderFeature): boolean; ensureFeatureIsSupported(feature: CryptoProviderFeature): void; deriveXpub(derivationPath: BIP32Path): Promise; displayAddressForPath(absDerivationPath: BIP32Path, stakingPath: BIP32Path): Promise; signTx(unsignedTx: TxAux, addressToPathMapper: AddressToPathMapper): Promise; witnessTx(unsignedTx: TxAux, addressToPathMapper: AddressToPathMapper): Promise; witnessPoolRegTx(unsignedTx: TxAux, addressToPathMapper: AddressToPathMapper): Promise; signData(address: Address, data: HexString, addressToAbsPathMapper: AddressToPathMapper): Promise; } //# sourceMappingURL=ICryptoProvider.d.ts.map