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

declare function useGetBridgingTransactions(params: Parameters<typeof getBridgingTransactions> | Parameters<typeof getBridgingTransactions>[0], options?: Omit<UseQueryOptions<ReturnType<typeof getBridgingTransactions>>, "queryKey" | "queryFn">): {
    queryKey: (string | {
        address?: string | undefined;
        cursor?: string | undefined;
        limit?: number | undefined;
        receiver?: string | undefined;
        sender?: string | undefined;
        type?: "withdraw" | "deposit" | undefined;
    } | [params: {
        address?: string | undefined;
        cursor?: string | undefined;
        limit?: number | undefined;
        receiver?: string | undefined;
        sender?: string | undefined;
        type?: "withdraw" | "deposit" | undefined;
    }, init?: Omit<openapi_fetch.FetchOptions<{
        parameters: {
            query?: {
                address?: _rss3_api_core_schema.components["parameters"]["address_query"];
                cursor?: _rss3_api_core_schema.components["parameters"]["cursor_query"];
                limit?: _rss3_api_core_schema.components["parameters"]["limit_1_20"];
                receiver?: _rss3_api_core_schema.components["parameters"]["receiver_query"];
                sender?: _rss3_api_core_schema.components["parameters"]["sender_query"];
                type?: _rss3_api_core_schema.components["parameters"]["bridging_type_query"];
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            200: _rss3_api_core_schema.components["responses"]["BridgeTransactionsResponse"];
            400: _rss3_api_core_schema.components["responses"]["400"];
            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<{
        data?: {
            event?: {
                deposit?: {
                    finalized?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    initialized?: {
                        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?: {
                    finalized?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    initialized?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    proved?: {
                        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;
            receiver: string;
            sender: string;
            token?: {
                address: {
                    l1: string;
                    l2: string;
                };
                value: string;
            } | undefined;
        }[] | 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?: {
            event?: {
                deposit?: {
                    finalized?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    initialized?: {
                        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?: {
                    finalized?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    initialized?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    proved?: {
                        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;
            receiver: string;
            sender: string;
            token?: {
                address: {
                    l1: string;
                    l2: string;
                };
                value: string;
            } | undefined;
        }[] | undefined;
    }>, Error>>;
    fetchStatus: _tanstack_react_query.FetchStatus;
    promise: Promise<Promise<{
        data?: {
            event?: {
                deposit?: {
                    finalized?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    initialized?: {
                        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?: {
                    finalized?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    initialized?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    proved?: {
                        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;
            receiver: string;
            sender: string;
            token?: {
                address: {
                    l1: string;
                    l2: string;
                };
                value: string;
            } | undefined;
        }[] | undefined;
    }>>;
} | {
    queryKey: (string | {
        address?: string | undefined;
        cursor?: string | undefined;
        limit?: number | undefined;
        receiver?: string | undefined;
        sender?: string | undefined;
        type?: "withdraw" | "deposit" | undefined;
    } | [params: {
        address?: string | undefined;
        cursor?: string | undefined;
        limit?: number | undefined;
        receiver?: string | undefined;
        sender?: string | undefined;
        type?: "withdraw" | "deposit" | undefined;
    }, init?: Omit<openapi_fetch.FetchOptions<{
        parameters: {
            query?: {
                address?: _rss3_api_core_schema.components["parameters"]["address_query"];
                cursor?: _rss3_api_core_schema.components["parameters"]["cursor_query"];
                limit?: _rss3_api_core_schema.components["parameters"]["limit_1_20"];
                receiver?: _rss3_api_core_schema.components["parameters"]["receiver_query"];
                sender?: _rss3_api_core_schema.components["parameters"]["sender_query"];
                type?: _rss3_api_core_schema.components["parameters"]["bridging_type_query"];
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            200: _rss3_api_core_schema.components["responses"]["BridgeTransactionsResponse"];
            400: _rss3_api_core_schema.components["responses"]["400"];
            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<{
        data?: {
            event?: {
                deposit?: {
                    finalized?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    initialized?: {
                        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?: {
                    finalized?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    initialized?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    proved?: {
                        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;
            receiver: string;
            sender: string;
            token?: {
                address: {
                    l1: string;
                    l2: string;
                };
                value: string;
            } | undefined;
        }[] | 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?: {
            event?: {
                deposit?: {
                    finalized?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    initialized?: {
                        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?: {
                    finalized?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    initialized?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    proved?: {
                        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;
            receiver: string;
            sender: string;
            token?: {
                address: {
                    l1: string;
                    l2: string;
                };
                value: string;
            } | undefined;
        }[] | undefined;
    }>, Error>>;
    fetchStatus: _tanstack_react_query.FetchStatus;
    promise: Promise<Promise<{
        data?: {
            event?: {
                deposit?: {
                    finalized?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    initialized?: {
                        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?: {
                    finalized?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    initialized?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    proved?: {
                        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;
            receiver: string;
            sender: string;
            token?: {
                address: {
                    l1: string;
                    l2: string;
                };
                value: string;
            } | undefined;
        }[] | undefined;
    }>>;
} | {
    queryKey: (string | {
        address?: string | undefined;
        cursor?: string | undefined;
        limit?: number | undefined;
        receiver?: string | undefined;
        sender?: string | undefined;
        type?: "withdraw" | "deposit" | undefined;
    } | [params: {
        address?: string | undefined;
        cursor?: string | undefined;
        limit?: number | undefined;
        receiver?: string | undefined;
        sender?: string | undefined;
        type?: "withdraw" | "deposit" | undefined;
    }, init?: Omit<openapi_fetch.FetchOptions<{
        parameters: {
            query?: {
                address?: _rss3_api_core_schema.components["parameters"]["address_query"];
                cursor?: _rss3_api_core_schema.components["parameters"]["cursor_query"];
                limit?: _rss3_api_core_schema.components["parameters"]["limit_1_20"];
                receiver?: _rss3_api_core_schema.components["parameters"]["receiver_query"];
                sender?: _rss3_api_core_schema.components["parameters"]["sender_query"];
                type?: _rss3_api_core_schema.components["parameters"]["bridging_type_query"];
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            200: _rss3_api_core_schema.components["responses"]["BridgeTransactionsResponse"];
            400: _rss3_api_core_schema.components["responses"]["400"];
            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<{
        data?: {
            event?: {
                deposit?: {
                    finalized?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    initialized?: {
                        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?: {
                    finalized?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    initialized?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    proved?: {
                        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;
            receiver: string;
            sender: string;
            token?: {
                address: {
                    l1: string;
                    l2: string;
                };
                value: string;
            } | undefined;
        }[] | undefined;
    }>, Error>>;
    fetchStatus: _tanstack_react_query.FetchStatus;
    promise: Promise<Promise<{
        data?: {
            event?: {
                deposit?: {
                    finalized?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    initialized?: {
                        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?: {
                    finalized?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    initialized?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    proved?: {
                        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;
            receiver: string;
            sender: string;
            token?: {
                address: {
                    l1: string;
                    l2: string;
                };
                value: string;
            } | undefined;
        }[] | undefined;
    }>>;
} | {
    queryKey: (string | {
        address?: string | undefined;
        cursor?: string | undefined;
        limit?: number | undefined;
        receiver?: string | undefined;
        sender?: string | undefined;
        type?: "withdraw" | "deposit" | undefined;
    } | [params: {
        address?: string | undefined;
        cursor?: string | undefined;
        limit?: number | undefined;
        receiver?: string | undefined;
        sender?: string | undefined;
        type?: "withdraw" | "deposit" | undefined;
    }, init?: Omit<openapi_fetch.FetchOptions<{
        parameters: {
            query?: {
                address?: _rss3_api_core_schema.components["parameters"]["address_query"];
                cursor?: _rss3_api_core_schema.components["parameters"]["cursor_query"];
                limit?: _rss3_api_core_schema.components["parameters"]["limit_1_20"];
                receiver?: _rss3_api_core_schema.components["parameters"]["receiver_query"];
                sender?: _rss3_api_core_schema.components["parameters"]["sender_query"];
                type?: _rss3_api_core_schema.components["parameters"]["bridging_type_query"];
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            200: _rss3_api_core_schema.components["responses"]["BridgeTransactionsResponse"];
            400: _rss3_api_core_schema.components["responses"]["400"];
            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<{
        data?: {
            event?: {
                deposit?: {
                    finalized?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    initialized?: {
                        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?: {
                    finalized?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    initialized?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    proved?: {
                        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;
            receiver: string;
            sender: string;
            token?: {
                address: {
                    l1: string;
                    l2: string;
                };
                value: string;
            } | undefined;
        }[] | undefined;
    }>, Error>>;
    fetchStatus: _tanstack_react_query.FetchStatus;
    promise: Promise<Promise<{
        data?: {
            event?: {
                deposit?: {
                    finalized?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    initialized?: {
                        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?: {
                    finalized?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    initialized?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    proved?: {
                        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;
            receiver: string;
            sender: string;
            token?: {
                address: {
                    l1: string;
                    l2: string;
                };
                value: string;
            } | undefined;
        }[] | undefined;
    }>>;
} | {
    queryKey: (string | {
        address?: string | undefined;
        cursor?: string | undefined;
        limit?: number | undefined;
        receiver?: string | undefined;
        sender?: string | undefined;
        type?: "withdraw" | "deposit" | undefined;
    } | [params: {
        address?: string | undefined;
        cursor?: string | undefined;
        limit?: number | undefined;
        receiver?: string | undefined;
        sender?: string | undefined;
        type?: "withdraw" | "deposit" | undefined;
    }, init?: Omit<openapi_fetch.FetchOptions<{
        parameters: {
            query?: {
                address?: _rss3_api_core_schema.components["parameters"]["address_query"];
                cursor?: _rss3_api_core_schema.components["parameters"]["cursor_query"];
                limit?: _rss3_api_core_schema.components["parameters"]["limit_1_20"];
                receiver?: _rss3_api_core_schema.components["parameters"]["receiver_query"];
                sender?: _rss3_api_core_schema.components["parameters"]["sender_query"];
                type?: _rss3_api_core_schema.components["parameters"]["bridging_type_query"];
            };
            header?: never;
            path?: never;
            cookie?: never;
        };
        requestBody?: never;
        responses: {
            200: _rss3_api_core_schema.components["responses"]["BridgeTransactionsResponse"];
            400: _rss3_api_core_schema.components["responses"]["400"];
            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<{
        data?: {
            event?: {
                deposit?: {
                    finalized?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    initialized?: {
                        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?: {
                    finalized?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    initialized?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    proved?: {
                        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;
            receiver: string;
            sender: string;
            token?: {
                address: {
                    l1: string;
                    l2: string;
                };
                value: string;
            } | undefined;
        }[] | undefined;
    }>, Error>>;
    fetchStatus: _tanstack_react_query.FetchStatus;
    promise: Promise<Promise<{
        data?: {
            event?: {
                deposit?: {
                    finalized?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    initialized?: {
                        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?: {
                    finalized?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    initialized?: {
                        block: {
                            hash: string;
                            number: number;
                            timestamp: number;
                        };
                        metadata?: {
                            burnedTokenIds?: number[] | undefined;
                            newTokenId?: number | undefined;
                        } | null | undefined;
                        transaction: {
                            hash: string;
                            index: number;
                        };
                    } | null | undefined;
                    proved?: {
                        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;
            receiver: string;
            sender: string;
            token?: {
                address: {
                    l1: string;
                    l2: string;
                };
                value: string;
            } | undefined;
        }[] | undefined;
    }>>;
};

export { useGetBridgingTransactions };
