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 { getAllNodes } from '@rss3/api-core';

declare function useGetAllNodes(params: Parameters<typeof getAllNodes> | Parameters<typeof getAllNodes>[0], options?: Omit<UseQueryOptions<ReturnType<typeof getAllNodes>>, "queryKey" | "queryFn">): {
    queryKey: (string | {
        cursor?: string | undefined;
        limit?: number | undefined;
        node?: string | undefined;
    } | [params: {
        cursor?: string | undefined;
        limit?: number | undefined;
        node?: string | undefined;
    }, init?: Omit<openapi_fetch.FetchOptions<{
        parameters: {
            query?: {
                cursor?: _rss3_api_core_schema.components["parameters"]["cursor_query"];
                limit?: _rss3_api_core_schema.components["parameters"]["limit_1_20"];
                node?: _rss3_api_core_schema.components["parameters"]["node_query"];
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            200: _rss3_api_core_schema.components["responses"]["NodesResponse"];
            400: _rss3_api_core_schema.components["responses"]["400"];
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content?: never;
            };
            500: _rss3_api_core_schema.components["responses"]["500"];
        };
    }> | undefined, "params"> | null | undefined, client?: Readonly<{
        baseUrl: string;
    } & Readonly<{
        baseUrl: string;
    } & openapi_fetch.Client<_rss3_api_core_schema.paths, `${string}/${string}`>>> | undefined])[];
    data: Promise<{
        address: string;
        alpha?: boolean | undefined;
        avatar: {
            description?: string | undefined;
            image?: string | undefined;
            name?: string | undefined;
        };
        createdAt: number;
        description: string;
        id: number;
        isPublicGood: boolean;
        lastHeartbeat: number;
        local?: {
            city?: string | undefined;
            country?: string | undefined;
            latitude?: number | undefined;
            longitude?: number | undefined;
            region?: string | undefined;
        }[] | undefined;
        minTokensToStake: string;
        name: string;
        operationPoolTokens: string;
        slashedTokens: string;
        stakingPoolTokens: string;
        status: "none" | "registered" | "initializing" | "outdated" | "online" | "offline" | "slashing" | "slashed" | "exiting" | "exited";
        taxRateBasisPoints?: number | null | undefined;
        totalShares: string;
        version?: "alpha" | "beta" | "production" | undefined;
    }[]>;
    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<{
        address: string;
        alpha?: boolean | undefined;
        avatar: {
            description?: string | undefined;
            image?: string | undefined;
            name?: string | undefined;
        };
        createdAt: number;
        description: string;
        id: number;
        isPublicGood: boolean;
        lastHeartbeat: number;
        local?: {
            city?: string | undefined;
            country?: string | undefined;
            latitude?: number | undefined;
            longitude?: number | undefined;
            region?: string | undefined;
        }[] | undefined;
        minTokensToStake: string;
        name: string;
        operationPoolTokens: string;
        slashedTokens: string;
        stakingPoolTokens: string;
        status: "none" | "registered" | "initializing" | "outdated" | "online" | "offline" | "slashing" | "slashed" | "exiting" | "exited";
        taxRateBasisPoints?: number | null | undefined;
        totalShares: string;
        version?: "alpha" | "beta" | "production" | undefined;
    }[]>, Error>>;
    fetchStatus: _tanstack_react_query.FetchStatus;
    promise: Promise<Promise<{
        address: string;
        alpha?: boolean | undefined;
        avatar: {
            description?: string | undefined;
            image?: string | undefined;
            name?: string | undefined;
        };
        createdAt: number;
        description: string;
        id: number;
        isPublicGood: boolean;
        lastHeartbeat: number;
        local?: {
            city?: string | undefined;
            country?: string | undefined;
            latitude?: number | undefined;
            longitude?: number | undefined;
            region?: string | undefined;
        }[] | undefined;
        minTokensToStake: string;
        name: string;
        operationPoolTokens: string;
        slashedTokens: string;
        stakingPoolTokens: string;
        status: "none" | "registered" | "initializing" | "outdated" | "online" | "offline" | "slashing" | "slashed" | "exiting" | "exited";
        taxRateBasisPoints?: number | null | undefined;
        totalShares: string;
        version?: "alpha" | "beta" | "production" | undefined;
    }[]>>;
} | {
    queryKey: (string | {
        cursor?: string | undefined;
        limit?: number | undefined;
        node?: string | undefined;
    } | [params: {
        cursor?: string | undefined;
        limit?: number | undefined;
        node?: string | undefined;
    }, init?: Omit<openapi_fetch.FetchOptions<{
        parameters: {
            query?: {
                cursor?: _rss3_api_core_schema.components["parameters"]["cursor_query"];
                limit?: _rss3_api_core_schema.components["parameters"]["limit_1_20"];
                node?: _rss3_api_core_schema.components["parameters"]["node_query"];
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            200: _rss3_api_core_schema.components["responses"]["NodesResponse"];
            400: _rss3_api_core_schema.components["responses"]["400"];
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content?: never;
            };
            500: _rss3_api_core_schema.components["responses"]["500"];
        };
    }> | undefined, "params"> | null | undefined, client?: Readonly<{
        baseUrl: string;
    } & Readonly<{
        baseUrl: string;
    } & openapi_fetch.Client<_rss3_api_core_schema.paths, `${string}/${string}`>>> | undefined])[];
    data: Promise<{
        address: string;
        alpha?: boolean | undefined;
        avatar: {
            description?: string | undefined;
            image?: string | undefined;
            name?: string | undefined;
        };
        createdAt: number;
        description: string;
        id: number;
        isPublicGood: boolean;
        lastHeartbeat: number;
        local?: {
            city?: string | undefined;
            country?: string | undefined;
            latitude?: number | undefined;
            longitude?: number | undefined;
            region?: string | undefined;
        }[] | undefined;
        minTokensToStake: string;
        name: string;
        operationPoolTokens: string;
        slashedTokens: string;
        stakingPoolTokens: string;
        status: "none" | "registered" | "initializing" | "outdated" | "online" | "offline" | "slashing" | "slashed" | "exiting" | "exited";
        taxRateBasisPoints?: number | null | undefined;
        totalShares: string;
        version?: "alpha" | "beta" | "production" | undefined;
    }[]>;
    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<{
        address: string;
        alpha?: boolean | undefined;
        avatar: {
            description?: string | undefined;
            image?: string | undefined;
            name?: string | undefined;
        };
        createdAt: number;
        description: string;
        id: number;
        isPublicGood: boolean;
        lastHeartbeat: number;
        local?: {
            city?: string | undefined;
            country?: string | undefined;
            latitude?: number | undefined;
            longitude?: number | undefined;
            region?: string | undefined;
        }[] | undefined;
        minTokensToStake: string;
        name: string;
        operationPoolTokens: string;
        slashedTokens: string;
        stakingPoolTokens: string;
        status: "none" | "registered" | "initializing" | "outdated" | "online" | "offline" | "slashing" | "slashed" | "exiting" | "exited";
        taxRateBasisPoints?: number | null | undefined;
        totalShares: string;
        version?: "alpha" | "beta" | "production" | undefined;
    }[]>, Error>>;
    fetchStatus: _tanstack_react_query.FetchStatus;
    promise: Promise<Promise<{
        address: string;
        alpha?: boolean | undefined;
        avatar: {
            description?: string | undefined;
            image?: string | undefined;
            name?: string | undefined;
        };
        createdAt: number;
        description: string;
        id: number;
        isPublicGood: boolean;
        lastHeartbeat: number;
        local?: {
            city?: string | undefined;
            country?: string | undefined;
            latitude?: number | undefined;
            longitude?: number | undefined;
            region?: string | undefined;
        }[] | undefined;
        minTokensToStake: string;
        name: string;
        operationPoolTokens: string;
        slashedTokens: string;
        stakingPoolTokens: string;
        status: "none" | "registered" | "initializing" | "outdated" | "online" | "offline" | "slashing" | "slashed" | "exiting" | "exited";
        taxRateBasisPoints?: number | null | undefined;
        totalShares: string;
        version?: "alpha" | "beta" | "production" | undefined;
    }[]>>;
} | {
    queryKey: (string | {
        cursor?: string | undefined;
        limit?: number | undefined;
        node?: string | undefined;
    } | [params: {
        cursor?: string | undefined;
        limit?: number | undefined;
        node?: string | undefined;
    }, init?: Omit<openapi_fetch.FetchOptions<{
        parameters: {
            query?: {
                cursor?: _rss3_api_core_schema.components["parameters"]["cursor_query"];
                limit?: _rss3_api_core_schema.components["parameters"]["limit_1_20"];
                node?: _rss3_api_core_schema.components["parameters"]["node_query"];
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            200: _rss3_api_core_schema.components["responses"]["NodesResponse"];
            400: _rss3_api_core_schema.components["responses"]["400"];
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content?: never;
            };
            500: _rss3_api_core_schema.components["responses"]["500"];
        };
    }> | undefined, "params"> | null | undefined, client?: Readonly<{
        baseUrl: string;
    } & Readonly<{
        baseUrl: string;
    } & openapi_fetch.Client<_rss3_api_core_schema.paths, `${string}/${string}`>>> | 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<{
        address: string;
        alpha?: boolean | undefined;
        avatar: {
            description?: string | undefined;
            image?: string | undefined;
            name?: string | undefined;
        };
        createdAt: number;
        description: string;
        id: number;
        isPublicGood: boolean;
        lastHeartbeat: number;
        local?: {
            city?: string | undefined;
            country?: string | undefined;
            latitude?: number | undefined;
            longitude?: number | undefined;
            region?: string | undefined;
        }[] | undefined;
        minTokensToStake: string;
        name: string;
        operationPoolTokens: string;
        slashedTokens: string;
        stakingPoolTokens: string;
        status: "none" | "registered" | "initializing" | "outdated" | "online" | "offline" | "slashing" | "slashed" | "exiting" | "exited";
        taxRateBasisPoints?: number | null | undefined;
        totalShares: string;
        version?: "alpha" | "beta" | "production" | undefined;
    }[]>, Error>>;
    fetchStatus: _tanstack_react_query.FetchStatus;
    promise: Promise<Promise<{
        address: string;
        alpha?: boolean | undefined;
        avatar: {
            description?: string | undefined;
            image?: string | undefined;
            name?: string | undefined;
        };
        createdAt: number;
        description: string;
        id: number;
        isPublicGood: boolean;
        lastHeartbeat: number;
        local?: {
            city?: string | undefined;
            country?: string | undefined;
            latitude?: number | undefined;
            longitude?: number | undefined;
            region?: string | undefined;
        }[] | undefined;
        minTokensToStake: string;
        name: string;
        operationPoolTokens: string;
        slashedTokens: string;
        stakingPoolTokens: string;
        status: "none" | "registered" | "initializing" | "outdated" | "online" | "offline" | "slashing" | "slashed" | "exiting" | "exited";
        taxRateBasisPoints?: number | null | undefined;
        totalShares: string;
        version?: "alpha" | "beta" | "production" | undefined;
    }[]>>;
} | {
    queryKey: (string | {
        cursor?: string | undefined;
        limit?: number | undefined;
        node?: string | undefined;
    } | [params: {
        cursor?: string | undefined;
        limit?: number | undefined;
        node?: string | undefined;
    }, init?: Omit<openapi_fetch.FetchOptions<{
        parameters: {
            query?: {
                cursor?: _rss3_api_core_schema.components["parameters"]["cursor_query"];
                limit?: _rss3_api_core_schema.components["parameters"]["limit_1_20"];
                node?: _rss3_api_core_schema.components["parameters"]["node_query"];
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            200: _rss3_api_core_schema.components["responses"]["NodesResponse"];
            400: _rss3_api_core_schema.components["responses"]["400"];
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content?: never;
            };
            500: _rss3_api_core_schema.components["responses"]["500"];
        };
    }> | undefined, "params"> | null | undefined, client?: Readonly<{
        baseUrl: string;
    } & Readonly<{
        baseUrl: string;
    } & openapi_fetch.Client<_rss3_api_core_schema.paths, `${string}/${string}`>>> | 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<{
        address: string;
        alpha?: boolean | undefined;
        avatar: {
            description?: string | undefined;
            image?: string | undefined;
            name?: string | undefined;
        };
        createdAt: number;
        description: string;
        id: number;
        isPublicGood: boolean;
        lastHeartbeat: number;
        local?: {
            city?: string | undefined;
            country?: string | undefined;
            latitude?: number | undefined;
            longitude?: number | undefined;
            region?: string | undefined;
        }[] | undefined;
        minTokensToStake: string;
        name: string;
        operationPoolTokens: string;
        slashedTokens: string;
        stakingPoolTokens: string;
        status: "none" | "registered" | "initializing" | "outdated" | "online" | "offline" | "slashing" | "slashed" | "exiting" | "exited";
        taxRateBasisPoints?: number | null | undefined;
        totalShares: string;
        version?: "alpha" | "beta" | "production" | undefined;
    }[]>, Error>>;
    fetchStatus: _tanstack_react_query.FetchStatus;
    promise: Promise<Promise<{
        address: string;
        alpha?: boolean | undefined;
        avatar: {
            description?: string | undefined;
            image?: string | undefined;
            name?: string | undefined;
        };
        createdAt: number;
        description: string;
        id: number;
        isPublicGood: boolean;
        lastHeartbeat: number;
        local?: {
            city?: string | undefined;
            country?: string | undefined;
            latitude?: number | undefined;
            longitude?: number | undefined;
            region?: string | undefined;
        }[] | undefined;
        minTokensToStake: string;
        name: string;
        operationPoolTokens: string;
        slashedTokens: string;
        stakingPoolTokens: string;
        status: "none" | "registered" | "initializing" | "outdated" | "online" | "offline" | "slashing" | "slashed" | "exiting" | "exited";
        taxRateBasisPoints?: number | null | undefined;
        totalShares: string;
        version?: "alpha" | "beta" | "production" | undefined;
    }[]>>;
} | {
    queryKey: (string | {
        cursor?: string | undefined;
        limit?: number | undefined;
        node?: string | undefined;
    } | [params: {
        cursor?: string | undefined;
        limit?: number | undefined;
        node?: string | undefined;
    }, init?: Omit<openapi_fetch.FetchOptions<{
        parameters: {
            query?: {
                cursor?: _rss3_api_core_schema.components["parameters"]["cursor_query"];
                limit?: _rss3_api_core_schema.components["parameters"]["limit_1_20"];
                node?: _rss3_api_core_schema.components["parameters"]["node_query"];
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            200: _rss3_api_core_schema.components["responses"]["NodesResponse"];
            400: _rss3_api_core_schema.components["responses"]["400"];
            404: {
                headers: {
                    [name: string]: unknown;
                };
                content?: never;
            };
            500: _rss3_api_core_schema.components["responses"]["500"];
        };
    }> | undefined, "params"> | null | undefined, client?: Readonly<{
        baseUrl: string;
    } & Readonly<{
        baseUrl: string;
    } & openapi_fetch.Client<_rss3_api_core_schema.paths, `${string}/${string}`>>> | 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<{
        address: string;
        alpha?: boolean | undefined;
        avatar: {
            description?: string | undefined;
            image?: string | undefined;
            name?: string | undefined;
        };
        createdAt: number;
        description: string;
        id: number;
        isPublicGood: boolean;
        lastHeartbeat: number;
        local?: {
            city?: string | undefined;
            country?: string | undefined;
            latitude?: number | undefined;
            longitude?: number | undefined;
            region?: string | undefined;
        }[] | undefined;
        minTokensToStake: string;
        name: string;
        operationPoolTokens: string;
        slashedTokens: string;
        stakingPoolTokens: string;
        status: "none" | "registered" | "initializing" | "outdated" | "online" | "offline" | "slashing" | "slashed" | "exiting" | "exited";
        taxRateBasisPoints?: number | null | undefined;
        totalShares: string;
        version?: "alpha" | "beta" | "production" | undefined;
    }[]>, Error>>;
    fetchStatus: _tanstack_react_query.FetchStatus;
    promise: Promise<Promise<{
        address: string;
        alpha?: boolean | undefined;
        avatar: {
            description?: string | undefined;
            image?: string | undefined;
            name?: string | undefined;
        };
        createdAt: number;
        description: string;
        id: number;
        isPublicGood: boolean;
        lastHeartbeat: number;
        local?: {
            city?: string | undefined;
            country?: string | undefined;
            latitude?: number | undefined;
            longitude?: number | undefined;
            region?: string | undefined;
        }[] | undefined;
        minTokensToStake: string;
        name: string;
        operationPoolTokens: string;
        slashedTokens: string;
        stakingPoolTokens: string;
        status: "none" | "registered" | "initializing" | "outdated" | "online" | "offline" | "slashing" | "slashed" | "exiting" | "exited";
        taxRateBasisPoints?: number | null | undefined;
        totalShares: string;
        version?: "alpha" | "beta" | "production" | undefined;
    }[]>>;
};

export { useGetAllNodes };
