import { UseQueryOptions, UseQueryResult } from "@tanstack/react-query"; import { EnsData } from "../../core"; type QueryOptions = Omit, "queryFn" | "queryKey">; /** * Returns the ENS data of the given address * * @param address - the address to get the ENS name of * @returns the ENS data of the given address */ export declare function useEnsDataForAddress({ address, options, }: { address?: string; options?: QueryOptions; }): UseQueryResult; /** * Search for ENS names. * Returns an exact match if the name is an ENS name, and multiple matches otherwise. * * @param name - the name to search for * @param enabled - whether the search is enabled or not * @param delayMs - the debounce delay in milliseconds * * @returns the ENS search query */ export declare function useEnsSearch({ name, enabled, delayMs, }: { name?: string; enabled?: boolean; delayMs?: number; }): UseQueryResult; export {};