import { Address } from 'viem'; import { ChainId } from '@justaname.id/sdk'; export declare const buildPrimaryNameBatchByAddressesKey: (addresses: string[], chainId: ChainId | undefined) => (string | string[] | ChainId | undefined)[]; export declare const buildPrimaryNameBatchKey: (chainId: ChainId | undefined) => (string | ChainId | undefined)[]; export type PrimaryNameRecord = Record; export interface UsePrimaryNameBatchParams { addresses?: string[]; chainId?: ChainId; enabled?: boolean; } export interface UsePrimaryNameBatchResult { primaryNames: PrimaryNameRecord | undefined; allPrimaryNames: PrimaryNameRecord | undefined; isPrimaryNameBatchPending: boolean; isPrimaryNameBatchFetching: boolean; isPrimaryNameBatchLoading: boolean; refetchPrimaryNameBatch: () => void; } export interface getPrimaryNameBatchParams { addresses: Address[] | undefined; chainId?: ChainId; } export declare const usePrimaryNameBatch: (params?: UsePrimaryNameBatchParams) => UsePrimaryNameBatchResult; //# sourceMappingURL=usePrimaryNameBatch.d.ts.map