import type { ExecuterActions } from '@arthur2079/queue-manager-core'; import type { APIErrorCode, SignerErrorCode, StepStatus, SwapStatus } from 'rango-types'; import { type Result } from 'ts-results'; import { type SwapActionTypes, type SwapQueueContext, type SwapStorage } from '../../types'; export interface NextTransactionState { nextStatus?: SwapStatus; nextStepStatus: StepStatus; message: string; details?: string; } export interface NextTransactionStateError extends NextTransactionState { errorCode: APIErrorCode | SignerErrorCode | null; } export declare function produceNextStateForTransaction(actions: ExecuterActions): Result; export declare function onNextStateError(actions: ExecuterActions, error: NextTransactionStateError): void; export declare function onNextStateOk(actions: ExecuterActions, ok: NextTransactionState): void; //# sourceMappingURL=produceNextStateForTransaction.d.ts.map