import * as _tanstack_react_query from '@tanstack/react-query';
import { UseQueryOptions } from '@tanstack/react-query';
import * as openapi_fetch from 'openapi-fetch';
import * as _rss3_api_core_schema from '@rss3/api-core/schema';
import { getAverageEpochsApy } from '@rss3/api-core';

declare function useGetAverageEpochsApy(params: Parameters<typeof getAverageEpochsApy> | Parameters<typeof getAverageEpochsApy>[0], options?: Omit<UseQueryOptions<ReturnType<typeof getAverageEpochsApy>>, "queryKey" | "queryFn">): {
    queryKey: (string | openapi_fetch.FetchOptions<{
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            200: _rss3_api_core_schema.components["responses"]["EpochsAverageAPYResponse"];
            500: _rss3_api_core_schema.components["responses"]["500"];
        };
    }> | [init?: openapi_fetch.FetchOptions<{
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            200: _rss3_api_core_schema.components["responses"]["EpochsAverageAPYResponse"];
            500: _rss3_api_core_schema.components["responses"]["500"];
        };
    }> | null | undefined, client?: Readonly<{
        baseUrl: string;
    } & Readonly<{
        baseUrl: string;
    } & openapi_fetch.Client<_rss3_api_core_schema.paths, `${string}/${string}`>>> | undefined] | null | undefined)[];
    data: Promise<{
        data: string;
    }>;
    error: Error;
    isError: true;
    isPending: false;
    isLoading: false;
    isLoadingError: false;
    isRefetchError: true;
    isSuccess: false;
    status: "error";
    dataUpdatedAt: number;
    errorUpdatedAt: number;
    failureCount: number;
    failureReason: Error | null;
    errorUpdateCount: number;
    isFetched: boolean;
    isFetchedAfterMount: boolean;
    isFetching: boolean;
    isInitialLoading: boolean;
    isPaused: boolean;
    isPlaceholderData: boolean;
    isRefetching: boolean;
    isStale: boolean;
    refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<Promise<{
        data: string;
    }>, Error>>;
    fetchStatus: _tanstack_react_query.FetchStatus;
    promise: Promise<Promise<{
        data: string;
    }>>;
} | {
    queryKey: (string | openapi_fetch.FetchOptions<{
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            200: _rss3_api_core_schema.components["responses"]["EpochsAverageAPYResponse"];
            500: _rss3_api_core_schema.components["responses"]["500"];
        };
    }> | [init?: openapi_fetch.FetchOptions<{
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            200: _rss3_api_core_schema.components["responses"]["EpochsAverageAPYResponse"];
            500: _rss3_api_core_schema.components["responses"]["500"];
        };
    }> | null | undefined, client?: Readonly<{
        baseUrl: string;
    } & Readonly<{
        baseUrl: string;
    } & openapi_fetch.Client<_rss3_api_core_schema.paths, `${string}/${string}`>>> | undefined] | null | undefined)[];
    data: Promise<{
        data: string;
    }>;
    error: null;
    isError: false;
    isPending: false;
    isLoading: false;
    isLoadingError: false;
    isRefetchError: false;
    isSuccess: true;
    status: "success";
    dataUpdatedAt: number;
    errorUpdatedAt: number;
    failureCount: number;
    failureReason: Error | null;
    errorUpdateCount: number;
    isFetched: boolean;
    isFetchedAfterMount: boolean;
    isFetching: boolean;
    isInitialLoading: boolean;
    isPaused: boolean;
    isPlaceholderData: boolean;
    isRefetching: boolean;
    isStale: boolean;
    refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<Promise<{
        data: string;
    }>, Error>>;
    fetchStatus: _tanstack_react_query.FetchStatus;
    promise: Promise<Promise<{
        data: string;
    }>>;
} | {
    queryKey: (string | openapi_fetch.FetchOptions<{
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            200: _rss3_api_core_schema.components["responses"]["EpochsAverageAPYResponse"];
            500: _rss3_api_core_schema.components["responses"]["500"];
        };
    }> | [init?: openapi_fetch.FetchOptions<{
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            200: _rss3_api_core_schema.components["responses"]["EpochsAverageAPYResponse"];
            500: _rss3_api_core_schema.components["responses"]["500"];
        };
    }> | null | undefined, client?: Readonly<{
        baseUrl: string;
    } & Readonly<{
        baseUrl: string;
    } & openapi_fetch.Client<_rss3_api_core_schema.paths, `${string}/${string}`>>> | undefined] | null | undefined)[];
    data: undefined;
    error: Error;
    isError: true;
    isPending: false;
    isLoading: false;
    isLoadingError: true;
    isRefetchError: false;
    isSuccess: false;
    status: "error";
    dataUpdatedAt: number;
    errorUpdatedAt: number;
    failureCount: number;
    failureReason: Error | null;
    errorUpdateCount: number;
    isFetched: boolean;
    isFetchedAfterMount: boolean;
    isFetching: boolean;
    isInitialLoading: boolean;
    isPaused: boolean;
    isPlaceholderData: boolean;
    isRefetching: boolean;
    isStale: boolean;
    refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<Promise<{
        data: string;
    }>, Error>>;
    fetchStatus: _tanstack_react_query.FetchStatus;
    promise: Promise<Promise<{
        data: string;
    }>>;
} | {
    queryKey: (string | openapi_fetch.FetchOptions<{
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            200: _rss3_api_core_schema.components["responses"]["EpochsAverageAPYResponse"];
            500: _rss3_api_core_schema.components["responses"]["500"];
        };
    }> | [init?: openapi_fetch.FetchOptions<{
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            200: _rss3_api_core_schema.components["responses"]["EpochsAverageAPYResponse"];
            500: _rss3_api_core_schema.components["responses"]["500"];
        };
    }> | null | undefined, client?: Readonly<{
        baseUrl: string;
    } & Readonly<{
        baseUrl: string;
    } & openapi_fetch.Client<_rss3_api_core_schema.paths, `${string}/${string}`>>> | undefined] | null | undefined)[];
    data: undefined;
    error: null;
    isError: false;
    isPending: true;
    isLoading: true;
    isLoadingError: false;
    isRefetchError: false;
    isSuccess: false;
    status: "pending";
    dataUpdatedAt: number;
    errorUpdatedAt: number;
    failureCount: number;
    failureReason: Error | null;
    errorUpdateCount: number;
    isFetched: boolean;
    isFetchedAfterMount: boolean;
    isFetching: boolean;
    isInitialLoading: boolean;
    isPaused: boolean;
    isPlaceholderData: boolean;
    isRefetching: boolean;
    isStale: boolean;
    refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<Promise<{
        data: string;
    }>, Error>>;
    fetchStatus: _tanstack_react_query.FetchStatus;
    promise: Promise<Promise<{
        data: string;
    }>>;
} | {
    queryKey: (string | openapi_fetch.FetchOptions<{
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            200: _rss3_api_core_schema.components["responses"]["EpochsAverageAPYResponse"];
            500: _rss3_api_core_schema.components["responses"]["500"];
        };
    }> | [init?: openapi_fetch.FetchOptions<{
        parameters: {
            query?: never;
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            200: _rss3_api_core_schema.components["responses"]["EpochsAverageAPYResponse"];
            500: _rss3_api_core_schema.components["responses"]["500"];
        };
    }> | null | undefined, client?: Readonly<{
        baseUrl: string;
    } & Readonly<{
        baseUrl: string;
    } & openapi_fetch.Client<_rss3_api_core_schema.paths, `${string}/${string}`>>> | undefined] | null | undefined)[];
    data: undefined;
    error: null;
    isError: false;
    isPending: true;
    isLoadingError: false;
    isRefetchError: false;
    isSuccess: false;
    status: "pending";
    dataUpdatedAt: number;
    errorUpdatedAt: number;
    failureCount: number;
    failureReason: Error | null;
    errorUpdateCount: number;
    isFetched: boolean;
    isFetchedAfterMount: boolean;
    isFetching: boolean;
    isLoading: boolean;
    isInitialLoading: boolean;
    isPaused: boolean;
    isPlaceholderData: boolean;
    isRefetching: boolean;
    isStale: boolean;
    refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<Promise<{
        data: string;
    }>, Error>>;
    fetchStatus: _tanstack_react_query.FetchStatus;
    promise: Promise<Promise<{
        data: string;
    }>>;
};

export { useGetAverageEpochsApy };
