import { InfiniteData, UseInfiniteQueryResult } from '@tanstack/react-query'; import { ChainId, Pagination } from '@justaname.id/sdk'; import { Records } from '../../types'; export declare const buildAllEnsKey: (chainId: ChainId | undefined, orderBy: string, orderDirection: string) => (string | ChainId | undefined)[]; export interface UseAllEnsParams { orderBy?: 'subnameCount' | 'createdAt'; orderDirection?: 'asc' | 'desc'; chainId?: ChainId; enabled?: boolean; } export declare const useAllEns: (params: UseAllEnsParams) => UseInfiniteQueryResult, Error>; //# sourceMappingURL=useAllEns.d.ts.map