import type { paths } from './api.js';
import type { AxiosRequestConfig } from 'axios';
export type CallFees = paths['/execute/call/v2']['post']['responses']['200']['content']['application/json']['fees'];
export type CallBreakdown = paths['/execute/call/v2']['post']['responses']['200']['content']['application/json']['breakdown'];
export type CheckApi = NonNullable<NonNullable<paths['/execute/call/v2']['post']['responses']['200']['content']['application/json']['steps']>['0']['items']>[0]['check'];
export type QuoteDetails = NonNullable<paths['/quote']['post']['responses']['200']['content']['application/json']['details']>;
export type TransactionStepState = 'confirming' | 'validating' | 'validating_delayed' | 'complete';
export type SignatureStepState = 'signing' | 'posting' | 'validating' | 'validating_delayed' | 'complete';
export type Execute = {
    errors?: {
        message?: string;
        orderId?: string;
    }[];
    fees?: CallFees;
    breakdown?: CallBreakdown;
    details?: QuoteDetails;
    error?: any;
    refunded?: boolean;
    steps: {
        error?: string;
        errorData?: any;
        action: string;
        description: string;
        kind: 'transaction' | 'signature';
        id: string;
        requestId?: string;
        depositAddress?: string;
        items?: {
            status: 'complete' | 'incomplete';
            progressState?: TransactionStepState | SignatureStepState;
            data?: any;
            check?: CheckApi;
            orderIndexes?: number[];
            orderIds?: string[];
            error?: string;
            txHashes?: {
                txHash: string;
                chainId: number;
                isBatchTx?: boolean;
            }[];
            internalTxHashes?: {
                txHash: string;
                chainId: number;
                isBatchTx?: boolean;
            }[];
            errorData?: any;
            orderData?: {
                crossPostingOrderId?: string;
                orderId: string;
                orderIndex: string;
            }[];
            isValidatingSignature?: boolean;
        }[];
    }[];
    request?: AxiosRequestConfig;
};
export type ExecuteStep = NonNullable<Execute['steps']>['0'];
export type ExecuteStepItem = NonNullable<Execute['steps'][0]['items']>[0];
//# sourceMappingURL=Execute.d.ts.map