import { CheckoutRefundState, CheckoutState, type DirectExecution, RelayExecutionStatus } from '@funkit/api-base';
import type { MergedMultiStepDirectExecution } from '../domains/checkoutNotifications';
export declare function mapRelayExecutionStatusToCheckoutState(status: RelayExecutionStatus): CheckoutState;
export declare function mapRelayExecutionStatusToRefundState(status: RelayExecutionStatus): CheckoutRefundState | undefined;
export declare function useCheckoutDirectExecutionHistory({ initDirectExecution, disabled, }: {
    initDirectExecution?: DirectExecution;
    disabled?: boolean;
}): {
    state: CheckoutState;
    refundState: CheckoutRefundState | undefined;
    isAcross: boolean;
    isLayerZero: boolean | null | undefined;
    isRefunded: boolean;
    isCompleted: boolean;
    isFailed: boolean;
    isDelayed: boolean;
    isProcessing: boolean;
    directExecution: DirectExecution | undefined;
};
export declare function useMultiStepDirectExecutionStatus(multiStepDirectExecution: MergedMultiStepDirectExecution, disabled?: boolean): {
    isCompleted: boolean;
    isDelayed: boolean;
    isFailed: boolean;
    isFinalStep: boolean;
    isProcessing: boolean;
    isRefunded: boolean;
    latestDirectExecution: DirectExecution;
};
