import { HDKey } from '@scure/bip32'; import { InscriptionResponseHiro } from '../../../types/inscription'; interface FindInscriptionsOnUtxoArgs { index: number; inscriptions: InscriptionResponseHiro[]; txId: string; } export declare function findInscriptionsOnUtxo({ index, inscriptions, txId }: FindInscriptionsOnUtxoArgs): InscriptionResponseHiro[]; export declare function useNumberOfInscriptionsOnUtxo({ taprootKeychain, nativeSegwitAddress, }: { nativeSegwitAddress: string; taprootKeychain: HDKey | undefined; }): (txId: string, index: number) => number; export declare function useInscriptions({ taprootKeychain, nativeSegwitAddress, }: { nativeSegwitAddress: string; taprootKeychain: HDKey | undefined; }): { inscriptions: import("@leather-wallet/models").Inscription[]; data: import("@tanstack/react-query").InfiniteData<{ offset: number; total: number; stopNextFetch: boolean; inscriptions: InscriptionResponseHiro[]; fromIndex: number; addressesWithoutOrdinalsNum: number; addressesMap: Record; }, unknown>; error: Error; isError: true; isPending: false; isLoading: false; isLoadingError: false; isRefetchError: true; isFetchNextPageError: false; isFetchPreviousPageError: false; isSuccess: false; status: "error"; fetchNextPage: (options?: import("@tanstack/react-query").FetchNextPageOptions | undefined) => Promise; }, unknown>, Error>>; fetchPreviousPage: (options?: import("@tanstack/react-query").FetchPreviousPageOptions | undefined) => Promise; }, unknown>, Error>>; hasNextPage: boolean; hasPreviousPage: boolean; isFetchingNextPage: boolean; isFetchingPreviousPage: boolean; 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?: import("@tanstack/react-query").RefetchOptions | undefined) => Promise; }, unknown>, Error>>; fetchStatus: import("@tanstack/react-query").FetchStatus; } | { inscriptions: import("@leather-wallet/models").Inscription[]; data: import("@tanstack/react-query").InfiniteData<{ offset: number; total: number; stopNextFetch: boolean; inscriptions: InscriptionResponseHiro[]; fromIndex: number; addressesWithoutOrdinalsNum: number; addressesMap: Record; }, unknown>; error: null; isError: false; isPending: false; isLoading: false; isLoadingError: false; isRefetchError: false; isFetchNextPageError: false; isFetchPreviousPageError: false; isSuccess: true; status: "success"; fetchNextPage: (options?: import("@tanstack/react-query").FetchNextPageOptions | undefined) => Promise; }, unknown>, Error>>; fetchPreviousPage: (options?: import("@tanstack/react-query").FetchPreviousPageOptions | undefined) => Promise; }, unknown>, Error>>; hasNextPage: boolean; hasPreviousPage: boolean; isFetchingNextPage: boolean; isFetchingPreviousPage: boolean; 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?: import("@tanstack/react-query").RefetchOptions | undefined) => Promise; }, unknown>, Error>>; fetchStatus: import("@tanstack/react-query").FetchStatus; } | { inscriptions: import("@leather-wallet/models").Inscription[]; data: undefined; error: Error; isError: true; isPending: false; isLoading: false; isLoadingError: true; isRefetchError: false; isFetchNextPageError: false; isFetchPreviousPageError: false; isSuccess: false; status: "error"; fetchNextPage: (options?: import("@tanstack/react-query").FetchNextPageOptions | undefined) => Promise; }, unknown>, Error>>; fetchPreviousPage: (options?: import("@tanstack/react-query").FetchPreviousPageOptions | undefined) => Promise; }, unknown>, Error>>; hasNextPage: boolean; hasPreviousPage: boolean; isFetchingNextPage: boolean; isFetchingPreviousPage: boolean; 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?: import("@tanstack/react-query").RefetchOptions | undefined) => Promise; }, unknown>, Error>>; fetchStatus: import("@tanstack/react-query").FetchStatus; } | { inscriptions: import("@leather-wallet/models").Inscription[]; data: undefined; error: null; isError: false; isPending: true; isLoading: true; isLoadingError: false; isRefetchError: false; isFetchNextPageError: false; isFetchPreviousPageError: false; isSuccess: false; status: "pending"; fetchNextPage: (options?: import("@tanstack/react-query").FetchNextPageOptions | undefined) => Promise; }, unknown>, Error>>; fetchPreviousPage: (options?: import("@tanstack/react-query").FetchPreviousPageOptions | undefined) => Promise; }, unknown>, Error>>; hasNextPage: boolean; hasPreviousPage: boolean; isFetchingNextPage: boolean; isFetchingPreviousPage: boolean; 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?: import("@tanstack/react-query").RefetchOptions | undefined) => Promise; }, unknown>, Error>>; fetchStatus: import("@tanstack/react-query").FetchStatus; } | { inscriptions: import("@leather-wallet/models").Inscription[]; data: undefined; error: null; isError: false; isPending: true; isLoadingError: false; isRefetchError: false; isFetchNextPageError: false; isFetchPreviousPageError: false; isSuccess: false; status: "pending"; fetchNextPage: (options?: import("@tanstack/react-query").FetchNextPageOptions | undefined) => Promise; }, unknown>, Error>>; fetchPreviousPage: (options?: import("@tanstack/react-query").FetchPreviousPageOptions | undefined) => Promise; }, unknown>, Error>>; hasNextPage: boolean; hasPreviousPage: boolean; isFetchingNextPage: boolean; isFetchingPreviousPage: boolean; 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?: import("@tanstack/react-query").RefetchOptions | undefined) => Promise; }, unknown>, Error>>; fetchStatus: import("@tanstack/react-query").FetchStatus; }; export declare function useInscriptionsAddressesMap({ taprootKeychain, nativeSegwitAddress, }: { nativeSegwitAddress: string; taprootKeychain: HDKey | undefined; }): Record; export {}; //# sourceMappingURL=inscriptions.hooks.d.ts.map