import BigNumber from 'bignumber.js';
import { ApprovalState, BalanceState, TokenInfo } from './type';
export declare const useGetTokenStatus: ({ account, chainId, offset, contractAddress, }: {
    account?: string;
    chainId: number | undefined;
    offset?: BigNumber;
    contractAddress?: string;
}) => {
    getApprovalState: (token: Pick<TokenInfo, "address" | "decimals" | "symbol"> | null, value: string | number | BigNumber, balance: BigNumber | null, allowance: BigNumber | null) => ApprovalState;
    getPendingRest: (token: Pick<TokenInfo, "address" | "decimals" | "symbol"> | null | undefined, allowance: BigNumber | null) => boolean;
    getBalanceState: (parsed: BigNumber, token: Pick<TokenInfo, "address" | "decimals" | "symbol"> | null | undefined, balance: BigNumber | null) => BalanceState;
    submitApprove: (token: TokenInfo | null, isReset?: boolean, submittedBack?: () => void, canceledCallback?: () => void, successBack?: () => void, failedCallback?: () => void) => Promise<void>;
    getMaxBalance: (token: TokenInfo | null, balance: BigNumber | null) => BigNumber;
};
