UNPKG

nostr-hooks

Version:
8 lines (7 loc) 305 B
import { NDKEvent } from '@nostr-dev-kit/ndk'; import { Nip29GroupRole } from '../../types'; export declare const useGroupRoles: (relay: string | undefined, groupId: string | undefined) => { roles: Nip29GroupRole[] | undefined; isLoadingRoles: boolean; rolesEvents: NDKEvent[] | undefined; };