import { BaseAPI } from './base_api';
import * as loopring_defs from '../defs';
import { RabbitWithdrawRequest } from '../defs';
import { ethers } from 'ethers';
export declare class RabbitWithdrawAPI extends BaseAPI {
    getConfig(): Promise<{
        config: string;
    }>;
    getNetworkWithdrawalAgents(req: {
        tokenId: number;
        amount: string;
        network: string;
    }): Promise<{
        address: string;
        tokenId: number;
        symbol: string;
        totalAmount: string;
        freezeAmount: string;
        timestamp: number;
    }[]>;
    submitRabitWithdraw(req: RabbitWithdrawRequest, extra: {
        signer: ethers.providers.JsonRpcSigner;
        chainId: number;
        exchangeAddr: string;
        eddsaSignKey: string;
    }): Promise<{
        hash: string;
        status: string;
        isIdempotent: boolean;
        accountId: number;
        tokenId: number;
        storageId: number;
    }>;
    getUserCrossChainFee<R>(request: loopring_defs.GetUserCrossChainFeeRequest, apiKey: string): Promise<{
        gasPrice: string;
        fees: {
            token: string;
            tokenId: number;
            fee: string;
            discount: number;
        }[];
    }>;
}
//# sourceMappingURL=rabbitWithdraw_api.d.ts.map