@singi-labs/sifa-sdk 0.9.19 → 0.9.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/dist/feed-DHTy7fUN.d.cts +254 -0
  2. package/dist/feed-DHTy7fUN.d.ts +254 -0
  3. package/dist/{index-DCpMh2Ny.d.cts → index-DYUYJxOs.d.cts} +1 -1
  4. package/dist/{index-DCpMh2Ny.d.ts → index-DYUYJxOs.d.ts} +1 -1
  5. package/dist/index.cjs +103 -2
  6. package/dist/index.cjs.map +1 -1
  7. package/dist/index.d.cts +4 -3
  8. package/dist/index.d.ts +4 -3
  9. package/dist/index.js +92 -3
  10. package/dist/index.js.map +1 -1
  11. package/dist/keys-D-vNPzXx.d.ts +1085 -0
  12. package/dist/keys-DRD79nDE.d.cts +1085 -0
  13. package/dist/query/fetchers/index.cjs +155 -1
  14. package/dist/query/fetchers/index.cjs.map +1 -1
  15. package/dist/query/fetchers/index.d.cts +6 -933
  16. package/dist/query/fetchers/index.d.ts +6 -933
  17. package/dist/query/fetchers/index.js +146 -2
  18. package/dist/query/fetchers/index.js.map +1 -1
  19. package/dist/query/hooks/index.cjs +2268 -0
  20. package/dist/query/hooks/index.cjs.map +1 -0
  21. package/dist/query/hooks/index.d.cts +479 -0
  22. package/dist/query/hooks/index.d.ts +479 -0
  23. package/dist/query/hooks/index.js +2178 -0
  24. package/dist/query/hooks/index.js.map +1 -0
  25. package/dist/query/index.cjs +340 -1
  26. package/dist/query/index.cjs.map +1 -1
  27. package/dist/query/index.d.cts +9 -352
  28. package/dist/query/index.d.ts +9 -352
  29. package/dist/query/index.js +322 -3
  30. package/dist/query/index.js.map +1 -1
  31. package/dist/schemas/index.cjs +102 -1
  32. package/dist/schemas/index.cjs.map +1 -1
  33. package/dist/schemas/index.d.cts +28 -2
  34. package/dist/schemas/index.d.ts +28 -2
  35. package/dist/schemas/index.js +91 -2
  36. package/dist/schemas/index.js.map +1 -1
  37. package/package.json +11 -1
@@ -0,0 +1,479 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { ReactNode } from 'react';
3
+ import { a7 as SifaApiConfig, bc as sifaQueryKeys, ai as WriteResult, a1 as RefreshPdsResult, ae as UpdateProfileOverrideInput, af as UpdateProfileSelfInput, ag as UploadAvatarResult, i as CreateResult, R as ProfileLocationInput, j as ExternalAccountInput, h as CreateExternalAccountResult, ah as VerifyExternalAccountResult, E as EndorsementInput, a0 as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, N as HideProfileItemInput, ab as StatsResponse, g as AppRegistryEntry, K as HiddenApp, u as FilterOptions, a5 as SearchFilters, a6 as SearchResponse, aa as SkillSearchResult, k as FeaturedProfile, a9 as SimilarProfile, t as FetchSuggestionsOptions, ad as SuggestionsResponse, y as FollowUserResult, n as FetchFollowListOptions, v as FollowListPage, z as FollowingResponse, p as FetchFollowingFeedOptions, o as FetchFollowProfilePageOptions, x as FollowProfilePageResponse, F as FeatureAllowlistResponse, l as FetchActivityFeedOptions, a as ActivityFeedResponse, d as ActivityTeaserResponse, J as HeatmapResponse, A as AccountCheckResult, $ as ReactionStatus, _ as ReactionResult, Z as ReactionError, a4 as RoadmapVotesResponse, D as DeleteAccountResult } from '../../keys-D-vNPzXx.js';
4
+ export { a8 as SifaQueryKey } from '../../keys-D-vNPzXx.js';
5
+ import * as _tanstack_react_query from '@tanstack/react-query';
6
+ import { UseQueryOptions, UseMutationOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query';
7
+ import { b as Profile, o as ProfilePosition, t as SkillRef, E as ExternalAccount, S as SkillSuggestion } from '../../index-DYUYJxOs.js';
8
+ import { F as FollowFeedPage, c as FeatureFlag } from '../../feed-DHTy7fUN.js';
9
+ import 'zod';
10
+
11
+ interface SifaProviderProps {
12
+ config: SifaApiConfig;
13
+ children: ReactNode;
14
+ }
15
+ /**
16
+ * Provides the {@link SifaApiConfig} that hooks under it can read via
17
+ * {@link useSifaConfig}. Wrap the React tree once; hooks consume it.
18
+ *
19
+ * @example
20
+ * ```tsx
21
+ * <QueryClientProvider client={queryClient}>
22
+ * <SifaProvider config={{ baseUrl: process.env.NEXT_PUBLIC_API_URL! }}>
23
+ * <App />
24
+ * </SifaProvider>
25
+ * </QueryClientProvider>
26
+ * ```
27
+ */
28
+ declare function SifaProvider({ config, children }: SifaProviderProps): react_jsx_runtime.JSX.Element;
29
+ /**
30
+ * Read the SDK's {@link SifaApiConfig} from context. Throws if no
31
+ * {@link SifaProvider} is mounted above.
32
+ */
33
+ declare function useSifaConfig(): SifaApiConfig;
34
+
35
+ /**
36
+ * React hook that reads an aggregated profile by handle or DID via
37
+ * TanStack Query. Returns `null` data when the profile does not exist.
38
+ *
39
+ * Pass `{ enabled: false }` (or an empty `handleOrDid`) to defer the
40
+ * fetch.
41
+ */
42
+ declare function useProfile(handleOrDid: string | undefined | null, options?: Omit<UseQueryOptions<Profile | null, Error, Profile | null, ReturnType<typeof sifaQueryKeys.profile.byHandle>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<Profile | null>, Error>;
43
+ /**
44
+ * React hook for a profile's AT Fund link. Returns `null` data on error
45
+ * or when the profile has no link configured.
46
+ */
47
+ declare function useAtFundLink(did: string | undefined | null, options?: Omit<UseQueryOptions<string | null, Error, string | null, ReturnType<typeof sifaQueryKeys.profile.atFundLink>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<string | null, Error>;
48
+
49
+ /**
50
+ * React hook for updating the authenticated user's profile self record.
51
+ * On success, invalidates the owner's profile cache.
52
+ *
53
+ * The owner identifier (handle or DID) is required so the mutation can
54
+ * target the right profile cache entry for invalidation.
55
+ */
56
+ declare function useUpdateProfileSelf(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, UpdateProfileSelfInput>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, UpdateProfileSelfInput, unknown>;
57
+ /** React hook for updating the authenticated user's profile override fields. */
58
+ declare function useUpdateProfileOverride(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, UpdateProfileOverrideInput>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, UpdateProfileOverrideInput, unknown>;
59
+ /** React hook for re-pulling the authenticated user's PDS-side profile. */
60
+ declare function useRefreshPds(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<RefreshPdsResult, Error, void>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<RefreshPdsResult, Error, void, unknown>;
61
+ /**
62
+ * React hook for uploading a new avatar. Pass a `File` (browser) or
63
+ * `Blob` (Expo) as the mutation variable.
64
+ */
65
+ declare function useUploadAvatar(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<UploadAvatarResult, Error, Blob>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<UploadAvatarResult, Error, Blob, unknown>;
66
+ /** React hook for deleting the avatar override (revert to PDS avatar). */
67
+ declare function useDeleteAvatarOverride(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, void>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, void, unknown>;
68
+
69
+ /**
70
+ * React hook for creating a new position record. On success, invalidates
71
+ * the owner's profile cache so the new position is reflected on the next
72
+ * read.
73
+ *
74
+ * The owner DID is required so the mutation can target the correct
75
+ * profile cache entry for invalidation.
76
+ */
77
+ declare function useCreatePosition(ownerDid: string, options?: Omit<UseMutationOptions<CreateResult, Error, Record<string, unknown>>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<CreateResult, Error, Record<string, unknown>, unknown>;
78
+
79
+ /** Variables for {@link useUpdatePosition}. */
80
+ interface UpdatePositionVariables {
81
+ rkey: string;
82
+ data: Record<string, unknown>;
83
+ }
84
+ /** React hook for updating a position record. */
85
+ declare function useUpdatePosition(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, UpdatePositionVariables>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, UpdatePositionVariables, unknown>;
86
+ /** React hook for deleting a position record. Variable: the `rkey` string. */
87
+ declare function useDeletePosition(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, string>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, string, unknown>;
88
+ /** React hook for marking a position as primary. Variable: the `rkey` string. */
89
+ declare function useSetPositionPrimary(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, string>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, string, unknown>;
90
+ /** React hook for clearing the primary flag on a position. */
91
+ declare function useUnsetPositionPrimary(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, string>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, string, unknown>;
92
+ /** Variables for {@link useLinkSkillToPosition} / {@link useUnlinkSkillFromPosition}. */
93
+ interface PositionSkillLinkVariables {
94
+ position: ProfilePosition;
95
+ skillRef: SkillRef;
96
+ }
97
+ /** React hook for linking a skill to a position. Idempotent. */
98
+ declare function useLinkSkillToPosition(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, PositionSkillLinkVariables>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, PositionSkillLinkVariables, unknown>;
99
+ /** React hook for unlinking a skill from a position. */
100
+ declare function useUnlinkSkillFromPosition(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, PositionSkillLinkVariables>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, PositionSkillLinkVariables, unknown>;
101
+
102
+ /** React hook for creating an education record. */
103
+ declare function useCreateEducation(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<CreateResult, Error, Record<string, unknown>>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<CreateResult, Error, Record<string, unknown>, unknown>;
104
+ /** Variables for {@link useUpdateEducation}. */
105
+ interface UpdateEducationVariables {
106
+ rkey: string;
107
+ data: Record<string, unknown>;
108
+ }
109
+ /** React hook for updating an education record. */
110
+ declare function useUpdateEducation(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, UpdateEducationVariables>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, UpdateEducationVariables, unknown>;
111
+ /** React hook for deleting an education record. Variable: the `rkey` string. */
112
+ declare function useDeleteEducation(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, string>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, string, unknown>;
113
+
114
+ /** React hook for creating a skill record. */
115
+ declare function useCreateSkill(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<CreateResult, Error, Record<string, unknown>>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<CreateResult, Error, Record<string, unknown>, unknown>;
116
+ /** Variables for {@link useUpdateSkill}. */
117
+ interface UpdateSkillVariables {
118
+ rkey: string;
119
+ data: Record<string, unknown>;
120
+ }
121
+ /** React hook for updating a skill record. */
122
+ declare function useUpdateSkill(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, UpdateSkillVariables>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, UpdateSkillVariables, unknown>;
123
+ /** React hook for deleting a skill record. Variable: the `rkey` string. */
124
+ declare function useDeleteSkill(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, string>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, string, unknown>;
125
+
126
+ /** Variables for {@link useCreateRecord}. */
127
+ interface CreateRecordVariables {
128
+ collection: string;
129
+ data: Record<string, unknown>;
130
+ }
131
+ /**
132
+ * Generic record-create escape hatch for collections without a
133
+ * dedicated section helper (certifications, projects, publications,
134
+ * volunteering, honors, languages, courses). Prefer the typed helpers
135
+ * when one exists for the section.
136
+ */
137
+ declare function useCreateRecord(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<CreateResult, Error, CreateRecordVariables>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<CreateResult, Error, CreateRecordVariables, unknown>;
138
+ /** Variables for {@link useUpdateRecord}. */
139
+ interface UpdateRecordVariables {
140
+ collection: string;
141
+ rkey: string;
142
+ data: Record<string, unknown>;
143
+ }
144
+ /** Generic record-update escape hatch. See {@link useCreateRecord}. */
145
+ declare function useUpdateRecord(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, UpdateRecordVariables>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, UpdateRecordVariables, unknown>;
146
+ /** Variables for {@link useDeleteRecord}. */
147
+ interface DeleteRecordVariables {
148
+ collection: string;
149
+ rkey: string;
150
+ }
151
+ /** Generic record-delete escape hatch. See {@link useCreateRecord}. */
152
+ declare function useDeleteRecord(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, DeleteRecordVariables>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, DeleteRecordVariables, unknown>;
153
+
154
+ /** React hook for creating a profile location record. */
155
+ declare function useCreateProfileLocation(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<CreateResult, Error, ProfileLocationInput>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<CreateResult, Error, ProfileLocationInput, unknown>;
156
+ /** Variables for {@link useUpdateProfileLocation}. */
157
+ interface UpdateProfileLocationVariables {
158
+ rkey: string;
159
+ data: ProfileLocationInput;
160
+ }
161
+ /** React hook for updating a profile location record. */
162
+ declare function useUpdateProfileLocation(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, UpdateProfileLocationVariables>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, UpdateProfileLocationVariables, unknown>;
163
+ /** React hook for deleting a profile location record. Variable: the `rkey` string. */
164
+ declare function useDeleteProfileLocation(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, string>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, string, unknown>;
165
+
166
+ /** React hook for reading the external-accounts list. Returns `[]` data on error. */
167
+ declare function useExternalAccounts(handleOrDid: string | undefined | null, options?: Omit<UseQueryOptions<ExternalAccount[], Error, ExternalAccount[], ReturnType<typeof sifaQueryKeys.profile.externalAccounts>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<ExternalAccount[]>, Error>;
168
+ /** React hook for creating an external account. */
169
+ declare function useCreateExternalAccount(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<CreateExternalAccountResult, Error, ExternalAccountInput>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<CreateExternalAccountResult, Error, ExternalAccountInput, unknown>;
170
+ /** Variables for {@link useUpdateExternalAccount}. */
171
+ interface UpdateExternalAccountVariables {
172
+ rkey: string;
173
+ data: ExternalAccountInput;
174
+ }
175
+ /** React hook for updating an external account. */
176
+ declare function useUpdateExternalAccount(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, UpdateExternalAccountVariables>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, UpdateExternalAccountVariables, unknown>;
177
+ /** React hook for deleting an external account. Variable: the `rkey` string. */
178
+ declare function useDeleteExternalAccount(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, string>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, string, unknown>;
179
+ /** React hook for marking an external account primary. */
180
+ declare function useSetExternalAccountPrimary(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, string>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, string, unknown>;
181
+ /** React hook for clearing the primary flag on an external account. */
182
+ declare function useUnsetExternalAccountPrimary(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, string>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, string, unknown>;
183
+ /** React hook for running server-side verification of an external account. */
184
+ declare function useVerifyExternalAccount(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<VerifyExternalAccountResult, Error, string>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<VerifyExternalAccountResult, Error, string, unknown>;
185
+
186
+ /**
187
+ * React hook for creating an endorsement of another user's skill. The
188
+ * mutation needs the endorsed user's handle/DID (not the endorser's)
189
+ * so the endorsed profile + their endorsement count caches get
190
+ * invalidated; pass `null` to skip endorsed-profile invalidation
191
+ * (e.g., if you only know the skill URI).
192
+ */
193
+ declare function useCreateEndorsement(endorsedHandleOrDid: string | null, options?: Omit<UseMutationOptions<CreateResult, Error, EndorsementInput>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<CreateResult, Error, EndorsementInput, unknown>;
194
+
195
+ /** React hook for hiding a keytrace claim. Variable: the claim `rkey` string. */
196
+ declare function useHideKeytraceClaim(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, string>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, string, unknown>;
197
+ /** React hook for unhiding a previously-hidden keytrace claim. */
198
+ declare function useUnhideKeytraceClaim(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, string>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, string, unknown>;
199
+
200
+ /** React hook for hiding an ORCID publication. Variable: the `putCode` number. */
201
+ declare const useHideOrcidPublication: (ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, number, unknown>, "mutationFn"> | undefined) => _tanstack_react_query.UseMutationResult<WriteResult, Error, number, unknown>;
202
+ /** React hook for unhiding an ORCID publication. Variable: the `putCode` number. */
203
+ declare const useUnhideOrcidPublication: (ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, number, unknown>, "mutationFn"> | undefined) => _tanstack_react_query.UseMutationResult<WriteResult, Error, number, unknown>;
204
+ /** React hook for hiding a standard publication. Variable: the AT URI string. */
205
+ declare const useHideStandardPublication: (ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, string, unknown>, "mutationFn"> | undefined) => _tanstack_react_query.UseMutationResult<WriteResult, Error, string, unknown>;
206
+ /** React hook for unhiding a standard publication. Variable: the AT URI string. */
207
+ declare const useUnhideStandardPublication: (ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, string, unknown>, "mutationFn"> | undefined) => _tanstack_react_query.UseMutationResult<WriteResult, Error, string, unknown>;
208
+ /** React hook for bulk-hiding standard publications. Variable: the URI list. */
209
+ declare const useBulkHideStandardPublications: (ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, string[], unknown>, "mutationFn"> | undefined) => _tanstack_react_query.UseMutationResult<WriteResult, Error, string[], unknown>;
210
+ /** React hook for bulk-unhiding standard publications. Variable: the URI list. */
211
+ declare const useBulkUnhideStandardPublications: (ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, string[], unknown>, "mutationFn"> | undefined) => _tanstack_react_query.UseMutationResult<WriteResult, Error, string[], unknown>;
212
+ /** React hook for hiding a Sifa-authored publication. Variable: the `rkey` string. */
213
+ declare const useHideSifaPublication: (ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, string, unknown>, "mutationFn"> | undefined) => _tanstack_react_query.UseMutationResult<WriteResult, Error, string, unknown>;
214
+ /** React hook for unhiding a Sifa-authored publication. Variable: the `rkey` string. */
215
+ declare const useUnhideSifaPublication: (ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, string, unknown>, "mutationFn"> | undefined) => _tanstack_react_query.UseMutationResult<WriteResult, Error, string, unknown>;
216
+ /** React hook for re-pulling ORCID publications. */
217
+ declare function useRefreshOrcidPublications(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<RefreshOrcidPublicationsResult, Error, void>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<RefreshOrcidPublicationsResult, Error, void, unknown>;
218
+
219
+ /**
220
+ * Hide one profile item across any supported section. The underlying
221
+ * record stays on the user's PDS; only its display on sifa.id is
222
+ * suppressed.
223
+ */
224
+ declare const useHideProfileItem: (ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, HideProfileItemInput, unknown>, "mutationFn"> | undefined) => _tanstack_react_query.UseMutationResult<WriteResult, Error, HideProfileItemInput, unknown>;
225
+ /** Restore a previously-hidden profile item. */
226
+ declare const useUnhideProfileItem: (ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, HideProfileItemInput, unknown>, "mutationFn"> | undefined) => _tanstack_react_query.UseMutationResult<WriteResult, Error, HideProfileItemInput, unknown>;
227
+ /** Bulk-hide profile items sharing the same `itemType` + `source`. */
228
+ declare const useBulkHideProfileItems: (ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, BulkHideProfileItemInput, unknown>, "mutationFn"> | undefined) => _tanstack_react_query.UseMutationResult<WriteResult, Error, BulkHideProfileItemInput, unknown>;
229
+ /** Bulk-unhide profile items sharing the same `itemType` + `source`. */
230
+ declare const useBulkUnhideProfileItems: (ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, BulkHideProfileItemInput, unknown>, "mutationFn"> | undefined) => _tanstack_react_query.UseMutationResult<WriteResult, Error, BulkHideProfileItemInput, unknown>;
231
+
232
+ /**
233
+ * React hook for the public homepage stats. Returns `null` data on error.
234
+ */
235
+ declare function useStats(options?: Omit<UseQueryOptions<StatsResponse | null, Error, StatsResponse | null, ReturnType<typeof sifaQueryKeys.stats.homepage>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<StatsResponse | null>, Error>;
236
+
237
+ /** React hook for the public app registry. */
238
+ declare function useAppsRegistry(options?: Omit<UseQueryOptions<AppRegistryEntry[], Error, AppRegistryEntry[], ReturnType<typeof sifaQueryKeys.apps.registry>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<AppRegistryEntry[]>, Error>;
239
+ /**
240
+ * React hook for the authenticated user's hidden-apps list. Requires a
241
+ * client-side session (relies on `credentials: 'include'`).
242
+ */
243
+ declare function useHiddenApps(options?: Omit<UseQueryOptions<HiddenApp[], Error, HiddenApp[], ReturnType<typeof sifaQueryKeys.apps.hidden>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<HiddenApp[]>, Error>;
244
+
245
+ declare function useSearchProfiles(filters: SearchFilters, options?: Omit<UseQueryOptions<SearchResponse, Error, SearchResponse, ReturnType<typeof sifaQueryKeys.search.profiles>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<SearchResponse>, Error>;
246
+ declare function useSkillSuggestions(query: string, options?: Omit<UseQueryOptions<SkillSearchResult[], Error, SkillSearchResult[], ReturnType<typeof sifaQueryKeys.search.skills>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<SkillSearchResult[]>, Error>;
247
+ /**
248
+ * Canonical-skill search hook. Hits `/api/skills/search` (the
249
+ * canonical-skills DB lookup, distinct from {@link useSkillSuggestions}'s
250
+ * `/api/search/skills` profile-skill typeahead). Skips the network call
251
+ * when the query is empty.
252
+ */
253
+ declare function useCanonicalSkillSearch(query: string, limit?: number, options?: Omit<UseQueryOptions<SkillSuggestion[], Error, SkillSuggestion[], ReturnType<typeof sifaQueryKeys.search.canonicalSkills>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<SkillSuggestion[]>, Error>;
254
+ declare function useSearchFilters(options?: Omit<UseQueryOptions<FilterOptions, Error, FilterOptions, ReturnType<typeof sifaQueryKeys.search.filters>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<FilterOptions>, Error>;
255
+
256
+ declare function useSimilarProfiles(did: string | undefined | null, opts?: {
257
+ limit?: number;
258
+ }, options?: Omit<UseQueryOptions<SimilarProfile[], Error, SimilarProfile[], ReturnType<typeof sifaQueryKeys.discovery.similar>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<SimilarProfile[]>, Error>;
259
+ declare function useSuggestions(opts?: Omit<FetchSuggestionsOptions, keyof Omit<FetchSuggestionsOptions, 'source' | 'includeDismissed' | 'cursor' | 'limit'>>, options?: Omit<UseQueryOptions<SuggestionsResponse, Error, SuggestionsResponse, ReturnType<typeof sifaQueryKeys.discovery.suggestions>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<SuggestionsResponse>, Error>;
260
+ declare function useSuggestionCount(since?: string, options?: Omit<UseQueryOptions<number, Error, number, ReturnType<typeof sifaQueryKeys.discovery.suggestionCount>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<number, Error>;
261
+ declare function useFeaturedProfile(options?: Omit<UseQueryOptions<FeaturedProfile | null, Error, FeaturedProfile | null, ReturnType<typeof sifaQueryKeys.discovery.featured>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<FeaturedProfile | null>, Error>;
262
+
263
+ /**
264
+ * Legacy "people I follow" query. Kept as-is for back-compat with sifa-web
265
+ * call sites that pre-date the V5 feed work. New code should use
266
+ * {@link useFollowingList} (paginated per-profile) or
267
+ * {@link useFollowingFeed} (V5 feed).
268
+ */
269
+ declare function useFollowing(opts?: {
270
+ source?: string;
271
+ cursor?: string;
272
+ limit?: number;
273
+ }, options?: Omit<UseQueryOptions<FollowingResponse, Error, FollowingResponse, ReturnType<typeof sifaQueryKeys.follow.following>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<FollowingResponse>, Error>;
274
+ /** Variables for {@link useFollow}. */
275
+ interface FollowVariables {
276
+ handle: string;
277
+ /** Server-resolved DID of the subject, when known. Used for optimistic cache writes. */
278
+ subjectDid?: string;
279
+ /** Optional Sifa-only "why I followed" note (max 200 graphemes). */
280
+ note?: string;
281
+ }
282
+ /** Variables for {@link useUnfollow}. */
283
+ interface UnfollowVariables {
284
+ handle: string;
285
+ }
286
+ /**
287
+ * Mutation hook for following a handle. Optimistically marks the
288
+ * follow-state cache as `true` and rolls back on failure (per
289
+ * sifa-api#673 TR8 / iter-1 plan TR8). Invalidates the followers /
290
+ * following lists and the V5 feed on success so they refetch.
291
+ *
292
+ * Optimistic cache entry: `sifaQueryKeys.follow.followers(handle)`
293
+ * receives the viewer prepended to the list shape; the optimistic update
294
+ * is intentionally conservative — it only flips per-handle state and
295
+ * doesn't try to invent rich `FollowProfile` fields.
296
+ */
297
+ declare function useFollow(options?: Omit<UseMutationOptions<FollowUserResult, Error, FollowVariables>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<FollowUserResult, Error, FollowVariables, unknown>;
298
+ /**
299
+ * Mutation hook for unfollowing a handle. Optimistic + rollback mirror
300
+ * of {@link useFollow}.
301
+ */
302
+ declare function useUnfollow(options?: Omit<UseMutationOptions<WriteResult, Error, UnfollowVariables>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, UnfollowVariables, unknown>;
303
+ /** Infinite-query hook for `handle`'s followers list. */
304
+ declare function useFollowers(handle: string, opts?: Omit<FetchFollowListOptions, 'cursor'>, options?: Omit<UseInfiniteQueryOptions<FollowListPage, Error, InfiniteData<FollowListPage>, ReturnType<typeof sifaQueryKeys.follow.followers>, string | undefined>, 'queryKey' | 'queryFn' | 'initialPageParam' | 'getNextPageParam'>): _tanstack_react_query.UseInfiniteQueryResult<InfiniteData<FollowListPage, unknown>, Error>;
305
+ /** Infinite-query hook for who `handle` follows. */
306
+ declare function useFollowingList(handle: string, opts?: Omit<FetchFollowListOptions, 'cursor'>, options?: Omit<UseInfiniteQueryOptions<FollowListPage, Error, InfiniteData<FollowListPage>, ReturnType<typeof sifaQueryKeys.follow.followingOf>, string | undefined>, 'queryKey' | 'queryFn' | 'initialPageParam' | 'getNextPageParam'>): _tanstack_react_query.UseInfiniteQueryResult<InfiniteData<FollowListPage, unknown>, Error>;
307
+ /**
308
+ * Infinite-query hook for the V5 home feed (authenticated viewer).
309
+ *
310
+ * @deprecated The `/api/following/feed` surface was reverted (sifa-api#674).
311
+ * Per `decisions/activity-data-strategy.md` the Sifa Timeline + ATmosphere
312
+ * Stream are two distinct surfaces with different data paths (Barazo API
313
+ * for Timeline, live PDS reads + Valkey for Stream). This hook is no
314
+ * longer consumed. Scheduled for removal in next major bump.
315
+ */
316
+ declare function useFollowingFeed(opts?: Omit<FetchFollowingFeedOptions, 'cursor'>, options?: Omit<UseInfiniteQueryOptions<FollowFeedPage, Error, InfiniteData<FollowFeedPage>, ReturnType<typeof sifaQueryKeys.follow.feed>, string | undefined>, 'queryKey' | 'queryFn' | 'initialPageParam' | 'getNextPageParam'>): _tanstack_react_query.UseInfiniteQueryResult<InfiniteData<{
317
+ items: ({
318
+ id: string;
319
+ actor: {
320
+ did: string;
321
+ handle: string;
322
+ displayName?: string | undefined;
323
+ avatarUrl?: string | undefined;
324
+ };
325
+ indexedAt: string;
326
+ eventType: string;
327
+ source: "sifa";
328
+ payload: Record<string, unknown>;
329
+ appId?: "sifa" | undefined;
330
+ } | {
331
+ id: string;
332
+ actor: {
333
+ did: string;
334
+ handle: string;
335
+ displayName?: string | undefined;
336
+ avatarUrl?: string | undefined;
337
+ };
338
+ indexedAt: string;
339
+ eventType: string;
340
+ source: "atmosphere";
341
+ appId: string;
342
+ payload: Record<string, unknown>;
343
+ uri?: string | undefined;
344
+ cid?: string | undefined;
345
+ })[];
346
+ cursor: string | null;
347
+ }, unknown>, Error>;
348
+
349
+ /**
350
+ * Infinite-query hook for the mutuals list of `handleOrDid`. Backed by
351
+ * {@link getMutuals} (`GET /api/profile/{handleOrDid}/mutuals`). Disabled
352
+ * when `handleOrDid` is empty so component-mount with a lazy handle doesn't
353
+ * fire a wasted request.
354
+ */
355
+ declare function useMutuals(handleOrDid: string, opts?: Omit<FetchFollowProfilePageOptions, 'cursor'>, options?: Omit<UseInfiniteQueryOptions<FollowProfilePageResponse, Error, InfiniteData<FollowProfilePageResponse>, ReturnType<typeof sifaQueryKeys.follow.mutuals>, string | undefined>, 'queryKey' | 'queryFn' | 'initialPageParam' | 'getNextPageParam'>): _tanstack_react_query.UseInfiniteQueryResult<InfiniteData<FollowProfilePageResponse, unknown>, Error>;
356
+ /**
357
+ * Infinite-query hook for the authenticated viewer's Bluesky-follow
358
+ * suggestions (people the viewer follows on Bluesky but not Sifa).
359
+ * Backed by {@link getBlueskySuggestions}.
360
+ */
361
+ declare function useBlueskySuggestions(opts?: Omit<FetchFollowProfilePageOptions, 'cursor'>, options?: Omit<UseInfiniteQueryOptions<FollowProfilePageResponse, Error, InfiniteData<FollowProfilePageResponse>, ReturnType<typeof sifaQueryKeys.follow.blueskySuggestions>, string | undefined>, 'queryKey' | 'queryFn' | 'initialPageParam' | 'getNextPageParam'>): _tanstack_react_query.UseInfiniteQueryResult<InfiniteData<FollowProfilePageResponse, unknown>, Error>;
362
+
363
+ /**
364
+ * Read hook for the admin allowlist of a given feature flag. Admin-gated on
365
+ * the server; non-admins get an empty list (the fetcher swallows 403).
366
+ */
367
+ declare function useFeatureAllowlist(flag: FeatureFlag, options?: Omit<UseQueryOptions<FeatureAllowlistResponse, Error, FeatureAllowlistResponse, ReturnType<typeof sifaQueryKeys.admin.featureAllowlist>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<FeatureAllowlistResponse>, Error>;
368
+ /** Snapshot of the previous cache entry; returned from `onMutate` for rollback. */
369
+ interface AllowlistMutationContext {
370
+ previous: FeatureAllowlistResponse | undefined;
371
+ }
372
+ /** Variables for {@link useAddFeatureAllowlist}. */
373
+ interface AddFeatureAllowlistVariables {
374
+ did: string;
375
+ note?: string;
376
+ }
377
+ /**
378
+ * Mutation hook to add (or upsert) a DID on the given flag's allowlist.
379
+ * Optimistically prepends a synthesized entry to the cache so admin UIs feel
380
+ * instant; rolls back if the server reports failure.
381
+ */
382
+ declare function useAddFeatureAllowlist(flag: FeatureFlag, options?: Omit<UseMutationOptions<WriteResult, Error, AddFeatureAllowlistVariables, AllowlistMutationContext>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, AddFeatureAllowlistVariables, AllowlistMutationContext>;
383
+ /** Variables for {@link useRemoveFeatureAllowlist}. */
384
+ interface RemoveFeatureAllowlistVariables {
385
+ did: string;
386
+ }
387
+ /**
388
+ * Mutation hook to remove a DID from the given flag's allowlist.
389
+ * Optimistically removes the row from the cache; rolls back if the server
390
+ * reports failure.
391
+ */
392
+ declare function useRemoveFeatureAllowlist(flag: FeatureFlag, options?: Omit<UseMutationOptions<WriteResult, Error, RemoveFeatureAllowlistVariables, AllowlistMutationContext>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, RemoveFeatureAllowlistVariables, AllowlistMutationContext>;
393
+
394
+ declare function useHeatmapData(handleOrDid: string | undefined | null, days: number, options?: Omit<UseQueryOptions<HeatmapResponse | null, Error, HeatmapResponse | null, ReturnType<typeof sifaQueryKeys.activity.heatmap>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<HeatmapResponse | null>, Error>;
395
+ declare function useActivityTeaser(handleOrDid: string | undefined | null, options?: Omit<UseQueryOptions<ActivityTeaserResponse | null, Error, ActivityTeaserResponse | null, ReturnType<typeof sifaQueryKeys.activity.teaser>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<ActivityTeaserResponse | null>, Error>;
396
+ declare function useActivityFeed(handleOrDid: string | undefined | null, opts?: Pick<FetchActivityFeedOptions, 'category' | 'limit' | 'cursor'>, options?: Omit<UseQueryOptions<ActivityFeedResponse | null, Error, ActivityFeedResponse | null, ReturnType<typeof sifaQueryKeys.activity.feed>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<ActivityFeedResponse | null>, Error>;
397
+
398
+ /** Count of confirmed endorsements for a DID. Returns 0 on error. */
399
+ declare function useEndorsementCount(did: string | undefined | null, options?: Omit<UseQueryOptions<number, Error, number, ReturnType<typeof sifaQueryKeys.endorsement.count>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<number, Error>;
400
+
401
+ /**
402
+ * Count of items in the authenticated user's network stream digest.
403
+ * Returns 0 on error (including when the endpoint isn't yet shipped).
404
+ */
405
+ declare function useNetworkStreamCount(did: string | undefined | null, options?: Omit<UseQueryOptions<number, Error, number, ReturnType<typeof sifaQueryKeys.stream.networkCount>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<number, Error>;
406
+
407
+ /**
408
+ * Batch-look up reaction status for multiple URIs. Skips the network call
409
+ * when `uris` is empty.
410
+ */
411
+ declare function useReactionStatus(uris: string[], options?: Omit<UseQueryOptions<Record<string, ReactionStatus> | null, Error, Record<string, ReactionStatus> | null, ReturnType<typeof sifaQueryKeys.reactions.status>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<Record<string, ReactionStatus> | null>, Error>;
412
+ /** Check whether the authenticated viewer has an account on the given app. */
413
+ declare function useAppAccountCheck(appId: string | undefined | null, options?: Omit<UseQueryOptions<AccountCheckResult | null, Error, AccountCheckResult | null, ReturnType<typeof sifaQueryKeys.reactions.accountCheck>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<AccountCheckResult | null>, Error>;
414
+
415
+ /** Variables for {@link useCreateReaction}. */
416
+ interface CreateReactionVariables {
417
+ targetUri: string;
418
+ appId: string;
419
+ targetCid?: string;
420
+ }
421
+ type CreateReactionMutationResult = {
422
+ ok: true;
423
+ data: ReactionResult;
424
+ } | {
425
+ ok: false;
426
+ error: ReactionError;
427
+ };
428
+ /**
429
+ * React hook for creating a reaction. Returns the discriminated-union
430
+ * result so the caller can detect `scope_insufficient` and trigger an
431
+ * OAuth scope-upgrade flow.
432
+ *
433
+ * Invalidates the entire `sifaQueryKeys.reactions.all()` subtree on
434
+ * success (any cached `useReactionStatus` view that includes the new
435
+ * URI needs a refresh).
436
+ */
437
+ declare function useCreateReaction(options?: Omit<UseMutationOptions<CreateReactionMutationResult, Error, CreateReactionVariables>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<{
438
+ ok: true;
439
+ data: ReactionResult;
440
+ } | {
441
+ ok: false;
442
+ error: ReactionError;
443
+ }, Error, CreateReactionVariables, unknown>;
444
+ /** Variables for {@link useDeleteReaction}. */
445
+ interface DeleteReactionVariables {
446
+ targetUri: string;
447
+ appId: string;
448
+ }
449
+ /** React hook for deleting a reaction. */
450
+ declare function useDeleteReaction(options?: Omit<UseMutationOptions<WriteResult, Error, DeleteReactionVariables>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, DeleteReactionVariables, unknown>;
451
+
452
+ /** Public roadmap vote tallies. Returns `{}` data on error. */
453
+ declare function useRoadmapVotes(options?: Omit<UseQueryOptions<RoadmapVotesResponse, Error, RoadmapVotesResponse, ReturnType<typeof sifaQueryKeys.roadmap.votes>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<RoadmapVotesResponse>, Error>;
454
+ /** Roadmap items the authenticated viewer has voted on. Returns `[]` data on error. */
455
+ declare function useMyRoadmapVotes(options?: Omit<UseQueryOptions<string[], Error, string[], ReturnType<typeof sifaQueryKeys.roadmap.myVotes>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<string[]>, Error>;
456
+
457
+ /** React hook for casting a roadmap vote. Variable: the item key. */
458
+ declare function useCastRoadmapVote(options?: Omit<UseMutationOptions<WriteResult, Error, string>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, string, unknown>;
459
+ /** React hook for retracting a previously-cast roadmap vote. */
460
+ declare function useRetractRoadmapVote(options?: Omit<UseMutationOptions<WriteResult, Error, string>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, string, unknown>;
461
+
462
+ /**
463
+ * React hook for resetting the authenticated user's Sifa profile.
464
+ * Variable: `deletePdsData` boolean.
465
+ *
466
+ * Invalidates the entire `sifaQueryKeys.all()` subtree on success
467
+ * (everything Sifa-related needs a refresh after a reset).
468
+ */
469
+ declare function useResetProfile(options?: Omit<UseMutationOptions<WriteResult, Error, boolean>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, boolean, unknown>;
470
+ /**
471
+ * React hook for deleting the authenticated user's account. Variable:
472
+ * `deletePdsData` boolean. Returns the deleted handle on success.
473
+ *
474
+ * On success, clears the entire query cache (the user is logged out
475
+ * and nothing they previously cached should be retained).
476
+ */
477
+ declare function useDeleteAccount(options?: Omit<UseMutationOptions<DeleteAccountResult, Error, boolean>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<DeleteAccountResult, Error, boolean, unknown>;
478
+
479
+ export { type AddFeatureAllowlistVariables, type CreateReactionVariables, type CreateRecordVariables, type DeleteReactionVariables, type DeleteRecordVariables, type FollowVariables, type PositionSkillLinkVariables, type RemoveFeatureAllowlistVariables, SifaProvider, type SifaProviderProps, type UnfollowVariables, type UpdateEducationVariables, type UpdateExternalAccountVariables, type UpdatePositionVariables, type UpdateProfileLocationVariables, type UpdateRecordVariables, type UpdateSkillVariables, sifaQueryKeys, useActivityFeed, useActivityTeaser, useAddFeatureAllowlist, useAppAccountCheck, useAppsRegistry, useAtFundLink, useBlueskySuggestions, useBulkHideProfileItems, useBulkHideStandardPublications, useBulkUnhideProfileItems, useBulkUnhideStandardPublications, useCanonicalSkillSearch, useCastRoadmapVote, useCreateEducation, useCreateEndorsement, useCreateExternalAccount, useCreatePosition, useCreateProfileLocation, useCreateReaction, useCreateRecord, useCreateSkill, useDeleteAccount, useDeleteAvatarOverride, useDeleteEducation, useDeleteExternalAccount, useDeletePosition, useDeleteProfileLocation, useDeleteReaction, useDeleteRecord, useDeleteSkill, useEndorsementCount, useExternalAccounts, useFeatureAllowlist, useFeaturedProfile, useFollow, useFollowers, useFollowing, useFollowingFeed, useFollowingList, useHeatmapData, useHiddenApps, useHideKeytraceClaim, useHideOrcidPublication, useHideProfileItem, useHideSifaPublication, useHideStandardPublication, useLinkSkillToPosition, useMutuals, useMyRoadmapVotes, useNetworkStreamCount, useProfile, useReactionStatus, useRefreshOrcidPublications, useRefreshPds, useRemoveFeatureAllowlist, useResetProfile, useRetractRoadmapVote, useRoadmapVotes, useSearchFilters, useSearchProfiles, useSetExternalAccountPrimary, useSetPositionPrimary, useSifaConfig, useSimilarProfiles, useSkillSuggestions, useStats, useSuggestionCount, useSuggestions, useUnfollow, useUnhideKeytraceClaim, useUnhideOrcidPublication, useUnhideProfileItem, useUnhideSifaPublication, useUnhideStandardPublication, useUnlinkSkillFromPosition, useUnsetExternalAccountPrimary, useUnsetPositionPrimary, useUpdateEducation, useUpdateExternalAccount, useUpdatePosition, useUpdateProfileLocation, useUpdateProfileOverride, useUpdateProfileSelf, useUpdateRecord, useUpdateSkill, useUploadAvatar, useVerifyExternalAccount };