UNPKG

@lens-protocol/react

Version:

Interacting with the Lens Protocol API using React.

21 lines (20 loc) 659 B
import { Profile, WhoHaveBlockedRequest } from '@lens-protocol/api-bindings'; import { PaginatedArgs, PaginatedReadResult } from "../helpers/reads.js"; /** * {@link useBlockedProfiles} hook arguments */ export type UseBlockedProfilesArgs = PaginatedArgs<WhoHaveBlockedRequest>; /** * Fetch profiles that the authenticated profile has blocked. * * You MUST be authenticated via {@link useLogin} to use this hook. * * @category Profiles * @group Hooks * * @example * ```tsx * const { data, loading, error } = useBlockedProfiles(); * ``` */ export declare function useBlockedProfiles(args?: UseBlockedProfilesArgs): PaginatedReadResult<Profile[]>;