import { Message } from "@keplr-wallet/router"; import { BackgroundTx, BackgroundTxStatus, TxExecutionType, TxExecution, ExecutionTypeToHistoryData, TxExecutionResult, IBCSwapMinimalTrackingData } from "./types"; /** * Record and execute multiple transactions * execution id is returned if the transactions are recorded successfully * and the execution will be started automatically after the transactions are recorded. */ export declare class RecordAndExecuteTxsMsg extends Message { readonly vaultId: string; readonly executionType: T; readonly txs: (BackgroundTx & { status: BackgroundTxStatus.PENDING | BackgroundTxStatus.CONFIRMED; })[]; readonly executableChainIds: string[]; readonly historyData?: (T extends TxExecutionType.UNDEFINED ? undefined : ExecutionTypeToHistoryData[T]) | undefined; readonly historyTxIndex?: number | undefined; static type(): string; constructor(vaultId: string, executionType: T, txs: (BackgroundTx & { status: BackgroundTxStatus.PENDING | BackgroundTxStatus.CONFIRMED; })[], executableChainIds: string[], historyData?: (T extends TxExecutionType.UNDEFINED ? undefined : ExecutionTypeToHistoryData[T]) | undefined, historyTxIndex?: number | undefined); validateBasic(): void; approveExternal(): boolean; route(): string; type(): string; } /** * Resume existing direct transactions by execution id and transaction index * This message is used to resume the execution of direct transactions that were paused by waiting for the asset to be bridged or other reasons. */ export declare class ResumeTxMsg extends Message { readonly id: string; readonly txIndex: number; readonly signedTx: string; readonly ibcSwapData?: IBCSwapMinimalTrackingData | undefined; static type(): string; constructor(id: string, txIndex: number, signedTx: string, ibcSwapData?: IBCSwapMinimalTrackingData | undefined); validateBasic(): void; approveExternal(): boolean; route(): string; type(): string; } /** * Get execution data by execution id */ export declare class GetTxExecutionMsg extends Message { readonly id: string; static type(): string; constructor(id: string); validateBasic(): void; approveExternal(): boolean; route(): string; type(): string; }