import { SWRResponse } from 'swr'; import { registry, services } from '@leapwallet/name-matcha'; export type TLDsConfig = Partial>; export type NameServicesResolutionsResult = Awaited>; export type UseNameServicesReturnType = SWRResponse; /** * React hook to get name service domain -> address associations for ICNS, IBC Domains and Stargaze Names */ export declare const useNameServices: (name: string, allowedTopLevelDomains: string[] | TLDsConfig | undefined) => UseNameServicesReturnType; export type NameServiceResolutionResult = Awaited>; export type UseNameServiceReturnType = SWRResponse; /** * Get the address associated to a name for the given name service ID */ export declare const useNameService: (name: string, serviceID: keyof typeof services) => UseNameServiceReturnType;