UNPKG

nostr-hooks

Version:
10 lines (9 loc) 446 B
import { NDKEvent } from '@nostr-dev-kit/ndk'; import { Nip29GroupMetadata } from '../../types'; export declare const useAllGroupsMetadataRecords: (relay: string | undefined) => { metadataRecords: Record<string, Nip29GroupMetadata>; isLoadingMetadata: boolean; metadataEvents: NDKEvent[] | undefined; loadMoreMetadata: (limit?: number, since?: number | null) => void | "" | undefined; hasMoreMetadata: boolean | undefined; };