import { FeedHighlight, FeedHighlightsRequest } from '@lens-protocol/api-bindings'; import { PaginatedArgs, PaginatedReadResult } from "../helpers/reads.js"; export type UseFeedHighlightsArgs = PaginatedArgs; /** * Fetch a the highlights of a feed for given profile and filters. * * You MUST be authenticated via {@link useLogin} to use this hook. * * @category Discovery * @group Hooks * @param args - {@link UseFeedHighlightsArgs} * * @example * ```tsx * import { useFeedHighlights, ProfileId } from '@lens-protocol/react'; * * function Feed({ profileId }: { profileId: ProfileId }) { * const { data, loading, error } = useFeedHighlights({ * where: { * for: profileId, * }, * }); * * if (loading) return
Loading...
; * * if (error) return
Error: {error.message}
; * * return ( * * ); * } * ``` */ export declare function useFeedHighlights({ where, }: UseFeedHighlightsArgs): PaginatedReadResult;