import { Address } from 'viem';
import { RequestStatusEnum, STATUS_CODE, StatusEndPoint } from './useRequestStatus';

export declare const useSubmit: ({ signature, requestData, }: {
    signature: string;
    requestData: string;
}) => {
    data: SubmitResponse;
    isLoading: boolean;
    isError: boolean;
};
export type SubmitResponse = {
    basicReq: {
        originChainId: number;
        destinationChainId: number;
        deadline: string;
        nonce: number;
        sender: Address;
        receiver: Address;
        delegate: Address;
        bungeeGateway: Address;
        switchboardId: number;
        inputToken: Address;
        inputAmount: string;
        outputTokens: Array<Address>;
        minOutputAmounts: Array<string>;
    };
    swapOutputToken: Address;
    minSwapOutput: string;
    minDestGas: number;
    exclusiveTransmitters: Array<Address>;
    exclusiveRouters: Array<Address>;
    createdAt: string;
    inputTokens: StatusEndPoint[];
    outputTokens: StatusEndPoint[];
    requestHash: string;
    status: keyof typeof RequestStatusEnum;
    statusCode: STATUS_CODE;
    userSignature: string;
};
