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

declare function useGetStakingTransaction(params: Parameters<typeof getStakingTransaction> | Parameters<typeof getStakingTransaction>[0], options?: Omit<UseQueryOptions<ReturnType<typeof getStakingTransaction>>, "queryKey" | "queryFn">): {
    queryKey: (string | {
        transactionHash: string;
    } | [params: {
        transactionHash: string;
    }, init?: Omit<openapi_fetch.FetchOptions<{
        parameters: {
            query?: never;
            header?: never;
            path: {
                transaction_hash: _rss3_api_core_schema.components["parameters"]["staking_transaction_hash_path"];
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            200: _rss3_api_core_schema.components["responses"]["StakeTransactionByHashResponse"];
            400: _rss3_api_core_schema.components["responses"]["400"];
            500: _rss3_api_core_schema.components["responses"]["500"];
        };
    }>, "params"> | null | undefined, client?: Readonly<{
        baseUrl: string;
    } & Readonly<{
        baseUrl: string;
    } & openapi_fetch.Client<_rss3_api_core_schema.paths, `${string}/${string}`>>> | undefined])[];
    data: Promise<{
        data?: {
            chipIds?: number[] | null | undefined;
            event?: {
                deposit?: {
                    deposited?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
                mergeChips?: {
                    merged?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
                stake?: {
                    staked?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
                unstake?: {
                    claimed?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    requested?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
                withdraw?: {
                    claimed?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    requested?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
            } | undefined;
            id: string;
            node: string;
            staker: string;
            value: string;
        } | 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<{
        data?: {
            chipIds?: number[] | null | undefined;
            event?: {
                deposit?: {
                    deposited?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
                mergeChips?: {
                    merged?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
                stake?: {
                    staked?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
                unstake?: {
                    claimed?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    requested?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
                withdraw?: {
                    claimed?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    requested?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
            } | undefined;
            id: string;
            node: string;
            staker: string;
            value: string;
        } | undefined;
    }>, Error>>;
    fetchStatus: _tanstack_react_query.FetchStatus;
    promise: Promise<Promise<{
        data?: {
            chipIds?: number[] | null | undefined;
            event?: {
                deposit?: {
                    deposited?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
                mergeChips?: {
                    merged?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
                stake?: {
                    staked?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
                unstake?: {
                    claimed?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    requested?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
                withdraw?: {
                    claimed?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    requested?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
            } | undefined;
            id: string;
            node: string;
            staker: string;
            value: string;
        } | undefined;
    }>>;
} | {
    queryKey: (string | {
        transactionHash: string;
    } | [params: {
        transactionHash: string;
    }, init?: Omit<openapi_fetch.FetchOptions<{
        parameters: {
            query?: never;
            header?: never;
            path: {
                transaction_hash: _rss3_api_core_schema.components["parameters"]["staking_transaction_hash_path"];
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            200: _rss3_api_core_schema.components["responses"]["StakeTransactionByHashResponse"];
            400: _rss3_api_core_schema.components["responses"]["400"];
            500: _rss3_api_core_schema.components["responses"]["500"];
        };
    }>, "params"> | null | undefined, client?: Readonly<{
        baseUrl: string;
    } & Readonly<{
        baseUrl: string;
    } & openapi_fetch.Client<_rss3_api_core_schema.paths, `${string}/${string}`>>> | undefined])[];
    data: Promise<{
        data?: {
            chipIds?: number[] | null | undefined;
            event?: {
                deposit?: {
                    deposited?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
                mergeChips?: {
                    merged?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
                stake?: {
                    staked?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
                unstake?: {
                    claimed?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    requested?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
                withdraw?: {
                    claimed?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    requested?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
            } | undefined;
            id: string;
            node: string;
            staker: string;
            value: string;
        } | 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<{
        data?: {
            chipIds?: number[] | null | undefined;
            event?: {
                deposit?: {
                    deposited?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
                mergeChips?: {
                    merged?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
                stake?: {
                    staked?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
                unstake?: {
                    claimed?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    requested?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
                withdraw?: {
                    claimed?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    requested?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
            } | undefined;
            id: string;
            node: string;
            staker: string;
            value: string;
        } | undefined;
    }>, Error>>;
    fetchStatus: _tanstack_react_query.FetchStatus;
    promise: Promise<Promise<{
        data?: {
            chipIds?: number[] | null | undefined;
            event?: {
                deposit?: {
                    deposited?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
                mergeChips?: {
                    merged?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
                stake?: {
                    staked?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
                unstake?: {
                    claimed?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    requested?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
                withdraw?: {
                    claimed?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    requested?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
            } | undefined;
            id: string;
            node: string;
            staker: string;
            value: string;
        } | undefined;
    }>>;
} | {
    queryKey: (string | {
        transactionHash: string;
    } | [params: {
        transactionHash: string;
    }, init?: Omit<openapi_fetch.FetchOptions<{
        parameters: {
            query?: never;
            header?: never;
            path: {
                transaction_hash: _rss3_api_core_schema.components["parameters"]["staking_transaction_hash_path"];
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            200: _rss3_api_core_schema.components["responses"]["StakeTransactionByHashResponse"];
            400: _rss3_api_core_schema.components["responses"]["400"];
            500: _rss3_api_core_schema.components["responses"]["500"];
        };
    }>, "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<{
        data?: {
            chipIds?: number[] | null | undefined;
            event?: {
                deposit?: {
                    deposited?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
                mergeChips?: {
                    merged?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
                stake?: {
                    staked?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
                unstake?: {
                    claimed?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    requested?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
                withdraw?: {
                    claimed?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    requested?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
            } | undefined;
            id: string;
            node: string;
            staker: string;
            value: string;
        } | undefined;
    }>, Error>>;
    fetchStatus: _tanstack_react_query.FetchStatus;
    promise: Promise<Promise<{
        data?: {
            chipIds?: number[] | null | undefined;
            event?: {
                deposit?: {
                    deposited?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
                mergeChips?: {
                    merged?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
                stake?: {
                    staked?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
                unstake?: {
                    claimed?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    requested?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
                withdraw?: {
                    claimed?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    requested?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
            } | undefined;
            id: string;
            node: string;
            staker: string;
            value: string;
        } | undefined;
    }>>;
} | {
    queryKey: (string | {
        transactionHash: string;
    } | [params: {
        transactionHash: string;
    }, init?: Omit<openapi_fetch.FetchOptions<{
        parameters: {
            query?: never;
            header?: never;
            path: {
                transaction_hash: _rss3_api_core_schema.components["parameters"]["staking_transaction_hash_path"];
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            200: _rss3_api_core_schema.components["responses"]["StakeTransactionByHashResponse"];
            400: _rss3_api_core_schema.components["responses"]["400"];
            500: _rss3_api_core_schema.components["responses"]["500"];
        };
    }>, "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<{
        data?: {
            chipIds?: number[] | null | undefined;
            event?: {
                deposit?: {
                    deposited?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
                mergeChips?: {
                    merged?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
                stake?: {
                    staked?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
                unstake?: {
                    claimed?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    requested?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
                withdraw?: {
                    claimed?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    requested?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
            } | undefined;
            id: string;
            node: string;
            staker: string;
            value: string;
        } | undefined;
    }>, Error>>;
    fetchStatus: _tanstack_react_query.FetchStatus;
    promise: Promise<Promise<{
        data?: {
            chipIds?: number[] | null | undefined;
            event?: {
                deposit?: {
                    deposited?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
                mergeChips?: {
                    merged?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
                stake?: {
                    staked?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
                unstake?: {
                    claimed?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    requested?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
                withdraw?: {
                    claimed?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    requested?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
            } | undefined;
            id: string;
            node: string;
            staker: string;
            value: string;
        } | undefined;
    }>>;
} | {
    queryKey: (string | {
        transactionHash: string;
    } | [params: {
        transactionHash: string;
    }, init?: Omit<openapi_fetch.FetchOptions<{
        parameters: {
            query?: never;
            header?: never;
            path: {
                transaction_hash: _rss3_api_core_schema.components["parameters"]["staking_transaction_hash_path"];
            };
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            200: _rss3_api_core_schema.components["responses"]["StakeTransactionByHashResponse"];
            400: _rss3_api_core_schema.components["responses"]["400"];
            500: _rss3_api_core_schema.components["responses"]["500"];
        };
    }>, "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<{
        data?: {
            chipIds?: number[] | null | undefined;
            event?: {
                deposit?: {
                    deposited?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
                mergeChips?: {
                    merged?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
                stake?: {
                    staked?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
                unstake?: {
                    claimed?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    requested?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
                withdraw?: {
                    claimed?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    requested?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
            } | undefined;
            id: string;
            node: string;
            staker: string;
            value: string;
        } | undefined;
    }>, Error>>;
    fetchStatus: _tanstack_react_query.FetchStatus;
    promise: Promise<Promise<{
        data?: {
            chipIds?: number[] | null | undefined;
            event?: {
                deposit?: {
                    deposited?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
                mergeChips?: {
                    merged?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
                stake?: {
                    staked?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
                unstake?: {
                    claimed?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    requested?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
                withdraw?: {
                    claimed?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    requested?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                } | null | undefined;
            } | undefined;
            id: string;
            node: string;
            staker: string;
            value: string;
        } | undefined;
    }>>;
};

export { useGetStakingTransaction };
