import { ProfileManager } from '@lens-protocol/api-bindings'; import { ProfileId } from '@lens-protocol/domain/entities'; import { PaginatedArgs, PaginatedReadResult } from "../helpers/reads.js"; export type UseProfileManagersArgs = PaginatedArgs<{ /** * The Profile Id to fetch profile manager details for. */ for: ProfileId; }>; /** * `useProfileManagers` is a paginated React hook that lets you fetch profile manager details for a given profile. * * @example * Use this hook in combination with the ProfileSession returned by the {@link useSession} to fetch the profile managers for the logged-in Profile * ```tsx * function ProfileManagers({ session }: { session: ProfileSession }) { * const { data: managers, error, loading } = useProfileManagers({ * for: session.profile.id, * }); * * if (loading) { * return ; * } * * if (error) { * return ; * } * * return ( * * ); * } * ``` * * @category Profiles * @group Hooks */ export declare function useProfileManagers(args: UseProfileManagersArgs): PaginatedReadResult;