export type ITransferInfo = { from: string; to: string; amount: string; token?: string; isNFT?: boolean; tokenId?: string; type?: string; }; export type IAdaAmount = { unit: string; quantity: string; }; export type IAdaUTXO = { path: string; address: string; tx_hash: string; tx_index: number; output_index: number; amount: IAdaAmount[]; }; export type IOutput = { address: string; amount: string; assets: []; }; export type IEncodeInput = { address: string; amount: IAdaAmount[]; block: string; data_hash: string; outputIndex: number; txHash: string; tx_hash: string; tx_index: number; }; export type IEncodeOutput = { address: string; amount: string; assets: IAdaAmount[]; isChange?: boolean; }; type ITxInfo = { body: string; hash: string; size: number; rawTxHex?: string; }; export type IEncodedTxADA = { inputs: IEncodeInput[]; outputs: IEncodeOutput[]; fee: string; totalSpent: string; totalFeeInNative: string; transferInfo: ITransferInfo; tx: ITxInfo; signOnly?: boolean; staking?: IStakingInfo; }; declare enum CardanoAddressType { BASE = 0, BASE_SCRIPT_KEY = 1, BASE_KEY_SCRIPT = 2, BASE_SCRIPT_SCRIPT = 3, POINTER = 4, POINTER_SCRIPT = 5, ENTERPRISE = 6, ENTERPRISE_SCRIPT = 7, BYRON = 8, REWARD = 14, REWARD_SCRIPT = 15 } export type IChangeAddress = { address: string; addressParameters: { path: string; addressType: CardanoAddressType; stakingPath: string; }; }; export declare enum CardanoCertificateType { STAKE_REGISTRATION = 0, STAKE_DEREGISTRATION = 1, STAKE_DELEGATION = 2, STAKE_POOL_REGISTRATION = 3 } export type IStakingInfo = { isStakingTx: boolean; certificates: ICardanoCertificate[]; poolId?: string; }; export type ICardanoCertificate = { type: CardanoCertificateType; stakeCredential?: string; poolKeyHash?: string; }; export type IConvertCborTxParams = { txHex: string; utxos: IAdaUTXO[]; addresses: string[]; changeAddress: IChangeAddress; isSignOnly: boolean; }; export {};