nostr-hooks
Version:
React hooks for developing Nostr clients
8 lines (7 loc) • 305 B
TypeScript
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;
};