import { QueryObserverResult, RefetchOptions } from '@tanstack/react-query'; import { ChainId, SubnameGetAllByAddressRoute } from '@justaname.id/sdk'; import { Records } from '../../types'; export declare const buildAddressSubnamesKey: (address: string | undefined, chainId: ChainId | undefined) => (string | ChainId | undefined)[]; export interface UseAddressSubnamesParams extends Omit { address: string | undefined; isClaimed?: boolean; coinType?: number; enabled?: boolean; } interface UseAddressSubnamesResult { addressSubnames: Records[]; isAddressSubnamesPending: boolean; isAddressSubnamesFetching: boolean; isAddressSubnamesLoading: boolean; refetchAddressSubnames: (options?: RefetchOptions | undefined) => Promise>; } export declare const useAddressSubnames: (params: UseAddressSubnamesParams) => UseAddressSubnamesResult; export {}; //# sourceMappingURL=useAddressSubnames.d.ts.map