import { CurrencyValue, QueryParams } from "@usedapp/core"; import { ethers } from "ethers"; export interface StakerInfo { claimable: { g$Reward: CurrencyValue | any; goodReward: CurrencyValue | any; } | undefined; balance?: CurrencyValue | any; rewardsPaid?: { g$Minted: CurrencyValue | any; goodMinted: CurrencyValue | any; }; deposit?: CurrencyValue | any; principle?: CurrencyValue | any; shares?: number | any; lastSharePrice?: number | any; } export interface SavingsStats { totalStaked: CurrencyValue | undefined; totalRewardsPaid: CurrencyValue | undefined; apy: number | undefined; lastUpdateBlock?: number; savings?: number; } export declare function useSavingsBalance(refresh: number | "never" | "everyBlock" | undefined, requiredChainId: number): { g$Balance: CurrencyValue; savingsBalance: CurrencyValue; }; export declare const useSavingsFunctions: () => { transfer: (amount: string) => Promise; withdraw: (amount: string, address?: string) => Promise; claim: () => Promise; transferState: import("@usedapp/core").TransactionStatus; withdrawState: import("@usedapp/core").TransactionStatus; claimState: import("@usedapp/core").TransactionStatus; }; export declare const useSavingsStats: (requiredChainId: number, refresh?: QueryParams["refresh"]) => { stats: undefined; error: any[]; } | { stats: SavingsStats; error: undefined; }; export declare const useStakerInfo: (requiredChainId: number, refresh: QueryParams["refresh"], account: string) => { stats: undefined; error: any[]; } | { stats: StakerInfo; error: undefined; }; //# sourceMappingURL=react.d.ts.map