import type { StakeKitErrorDto } from "@stakekit/api-hooks";
import type { UseQueryResult } from "@tanstack/react-query";
import BigNumber from "bignumber.js";
import { getProviderDetails } from "./use-provider-details";
export declare const SummaryProvider: ({ children, }: {
    children: React.ReactNode;
}) => import("react/jsx-runtime").JSX.Element;
export declare const useSummary: () => {
    allPositionsQuery: UseQueryResult<{
        allPositions: {
            yieldName: string;
            usdAmount: number;
            providerDetails: ReturnType<typeof getProviderDetails>;
        }[];
        allPositionsSum: BigNumber;
    }, StakeKitErrorDto>;
    rewardsPositionsQuery: UseQueryResult<{
        rewardsPositions: {
            yieldName: string;
            total: BigNumber;
            lastMonth: BigNumber;
            lastWeek: BigNumber;
        }[];
        rewardsPositionsTotalSum: BigNumber;
        rewardsPositionsLastMonthSum: BigNumber;
        rewardsPositionsLastWeekSum: BigNumber;
    }, StakeKitErrorDto>;
    averageApyQuery: UseQueryResult<BigNumber, StakeKitErrorDto>;
    availableBalanceSumQuery: UseQueryResult<BigNumber, StakeKitErrorDto>;
};
