UNPKG

nostr-hooks

Version:
15 lines (14 loc) 422 B
import { NDKUser } from '@nostr-dev-kit/ndk'; type ProfileParams = { nip05?: string; pubkey?: string; npub?: string; nip46Urls?: string[]; relayUrls?: string[]; }; export type FollowsStatus = 'idle' | 'loading' | 'success' | 'not-found' | 'error'; export declare const useFollows: (profileParams?: ProfileParams) => { follows: NDKUser[] | null | undefined; status: FollowsStatus; }; export {};