@ecency/sdk 1.3.5 → 1.3.8

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.
@@ -1,7 +1,7 @@
1
1
  import * as _tanstack_react_query from '@tanstack/react-query';
2
2
  import { UseMutationOptions, MutationKey, QueryClient, QueryKey, InfiniteData, UseQueryOptions, UseInfiniteQueryOptions } from '@tanstack/react-query';
3
3
  import * as _hiveio_dhive from '@hiveio/dhive';
4
- import { Authority, PrivateKey, AuthorityType, PublicKey, Operation, Client, SMTAsset } from '@hiveio/dhive';
4
+ import { Authority, SMTAsset, PrivateKey, AuthorityType, PublicKey, Operation, Client } from '@hiveio/dhive';
5
5
  import * as _hiveio_dhive_lib_chain_rc from '@hiveio/dhive/lib/chain/rc';
6
6
 
7
7
  interface AccountFollowStats {
@@ -116,6 +116,276 @@ interface GetRecoveriesEmailResponse extends Recoveries {
116
116
  _id: string;
117
117
  }
118
118
 
119
+ interface Follow {
120
+ follower: string;
121
+ following: string;
122
+ what: string[];
123
+ }
124
+
125
+ interface BaseTransaction {
126
+ num: number;
127
+ type: string;
128
+ timestamp: string;
129
+ trx_id: string;
130
+ }
131
+ interface CurationReward extends BaseTransaction {
132
+ type: "curation_reward";
133
+ comment_author?: string;
134
+ comment_permlink?: string;
135
+ author?: string;
136
+ permlink?: string;
137
+ curator: string;
138
+ reward: string;
139
+ }
140
+ interface AuthorReward extends BaseTransaction {
141
+ type: "author_reward";
142
+ author: string;
143
+ permlink: string;
144
+ hbd_payout: string;
145
+ hive_payout: string;
146
+ vesting_payout: string;
147
+ }
148
+ interface CommentBenefactor extends BaseTransaction {
149
+ type: "comment_benefactor_reward";
150
+ benefactor: string;
151
+ author: string;
152
+ permlink: string;
153
+ hbd_payout: string;
154
+ hive_payout: string;
155
+ vesting_payout: string;
156
+ }
157
+ interface ClaimRewardBalance extends BaseTransaction {
158
+ type: "claim_reward_balance";
159
+ account: string;
160
+ reward_hbd: string;
161
+ reward_hive: string;
162
+ reward_vests: string;
163
+ }
164
+ interface Transfer extends BaseTransaction {
165
+ type: "transfer";
166
+ amount: string;
167
+ memo: string;
168
+ from: string;
169
+ to: string;
170
+ }
171
+ interface TransferToVesting extends BaseTransaction {
172
+ type: "transfer_to_vesting";
173
+ amount: string;
174
+ memo?: string;
175
+ from: string;
176
+ to: string;
177
+ }
178
+ interface SetWithdrawRoute extends BaseTransaction {
179
+ type: "set_withdraw_vesting_route";
180
+ from_account: string;
181
+ to_account: string;
182
+ percent: number;
183
+ auto_vest: boolean;
184
+ }
185
+ interface TransferToSavings extends BaseTransaction {
186
+ type: "transfer_to_savings";
187
+ amount: string;
188
+ memo?: string;
189
+ from: string;
190
+ to: string;
191
+ }
192
+ interface CancelTransferFromSavings extends BaseTransaction {
193
+ from: string;
194
+ request_id: number;
195
+ type: "cancel_transfer_from_savings";
196
+ }
197
+ interface WithdrawVesting extends BaseTransaction {
198
+ type: "withdraw_vesting";
199
+ acc: string;
200
+ vesting_shares: string;
201
+ }
202
+ interface FillOrder extends BaseTransaction {
203
+ type: "fill_order";
204
+ current_pays: string;
205
+ open_pays: string;
206
+ }
207
+ interface LimitOrderCancel extends BaseTransaction {
208
+ type: "limit_order_cancel";
209
+ owner: string;
210
+ orderid: number;
211
+ }
212
+ interface ProducerReward extends BaseTransaction {
213
+ type: "producer_reward";
214
+ vesting_shares: string;
215
+ producer: string;
216
+ }
217
+ interface Interest extends BaseTransaction {
218
+ type: "interest";
219
+ owner: string;
220
+ interest: string;
221
+ }
222
+ interface FillConvertRequest extends BaseTransaction {
223
+ type: "fill_convert_request";
224
+ amount_in: string;
225
+ amount_out: string;
226
+ }
227
+ interface FillCollateralizedConvertRequest extends BaseTransaction {
228
+ type: "fill_collateralized_convert_request";
229
+ owner: string;
230
+ requestid: number;
231
+ amount_in: string;
232
+ amount_out: string;
233
+ excess_collateral: string;
234
+ }
235
+ interface ReturnVestingDelegation extends BaseTransaction {
236
+ type: "return_vesting_delegation";
237
+ vesting_shares: string;
238
+ }
239
+ interface ProposalPay extends BaseTransaction {
240
+ type: "proposal_pay";
241
+ payment: string;
242
+ }
243
+ interface UpdateProposalVotes extends BaseTransaction {
244
+ type: "update_proposal_votes";
245
+ voter: string;
246
+ proposal_ids: [number];
247
+ approve: boolean;
248
+ }
249
+ interface CommentPayoutUpdate extends BaseTransaction {
250
+ type: "comment_payout_update";
251
+ author: string;
252
+ permlink: string;
253
+ }
254
+ interface CommentReward extends BaseTransaction {
255
+ type: "comment_reward";
256
+ author: string;
257
+ permlink: string;
258
+ payout: string;
259
+ }
260
+ interface CollateralizedConvert extends BaseTransaction {
261
+ type: "collateralized_convert";
262
+ owner: string;
263
+ requestid: number;
264
+ amount: string;
265
+ }
266
+ interface RecurrentTransfers extends BaseTransaction {
267
+ type: "recurrent_transfer";
268
+ amount: string;
269
+ memo: string;
270
+ from: string;
271
+ to: string;
272
+ recurrence: number;
273
+ executions: number;
274
+ }
275
+ interface FillRecurrentTransfers extends BaseTransaction {
276
+ type: "fill_recurrent_transfer";
277
+ amount: SMTAsset;
278
+ memo: string;
279
+ from: string;
280
+ to: string;
281
+ remaining_executions: number;
282
+ }
283
+ interface DelegateVestingShares extends BaseTransaction {
284
+ type: "delegate_vesting_shares";
285
+ delegator: string;
286
+ delegatee: string;
287
+ vesting_shares: string;
288
+ }
289
+ interface LimitOrderCreate extends BaseTransaction {
290
+ type: "limit_order_create";
291
+ owner: string;
292
+ orderid: number;
293
+ amount_to_sell: string;
294
+ min_to_receive: string;
295
+ expiration: string;
296
+ }
297
+ interface FillVestingWithdraw extends BaseTransaction {
298
+ type: "fill_vesting_withdraw";
299
+ from_account: string;
300
+ to_account: string;
301
+ withdrawn: string;
302
+ deposited: string;
303
+ }
304
+ interface EffectiveCommentVote extends BaseTransaction {
305
+ type: "effective_comment_vote";
306
+ voter: string;
307
+ author: string;
308
+ permlink: string;
309
+ pending_payout: string;
310
+ total_vote_weight: number;
311
+ rshares: number;
312
+ weight: number;
313
+ }
314
+ interface VoteProxy extends BaseTransaction {
315
+ type: "account_witness_proxy";
316
+ account: string;
317
+ proxy: string;
318
+ }
319
+ type Transaction = CurationReward | AuthorReward | CommentBenefactor | ClaimRewardBalance | Transfer | TransferToVesting | TransferToSavings | CancelTransferFromSavings | WithdrawVesting | SetWithdrawRoute | FillOrder | ProducerReward | Interest | FillConvertRequest | FillCollateralizedConvertRequest | ReturnVestingDelegation | ProposalPay | UpdateProposalVotes | CommentPayoutUpdate | CommentReward | CollateralizedConvert | RecurrentTransfers | FillRecurrentTransfers | LimitOrderCreate | LimitOrderCancel | FillVestingWithdraw | EffectiveCommentVote | VoteProxy | DelegateVestingShares;
320
+ type OperationGroup = "transfers" | "market-orders" | "interests" | "stake-operations" | "rewards";
321
+
322
+ interface ReferralItem {
323
+ id: number;
324
+ username: string;
325
+ referrer: string;
326
+ created: string;
327
+ rewarded: number;
328
+ v: number;
329
+ }
330
+ interface ReferralItems {
331
+ data: ReferralItem[];
332
+ }
333
+ interface ReferralStat {
334
+ total: number;
335
+ rewarded: number;
336
+ }
337
+
338
+ /**
339
+ * Account profile information from bridge API
340
+ * Returned by get_profiles endpoint
341
+ */
342
+ interface Profile {
343
+ id: number;
344
+ name: string;
345
+ created: string;
346
+ active: string;
347
+ post_count: number;
348
+ reputation: number;
349
+ blacklists: string[];
350
+ stats: {
351
+ rank: number;
352
+ following: number;
353
+ followers: number;
354
+ };
355
+ metadata: {
356
+ profile: {
357
+ about?: string;
358
+ blacklist_description?: string;
359
+ cover_image?: string;
360
+ location?: string;
361
+ muted_list_description?: string;
362
+ name?: string;
363
+ profile_image?: string;
364
+ website?: string;
365
+ };
366
+ };
367
+ }
368
+
369
+ /**
370
+ * Friends list row data
371
+ * The `active` field contains raw timestamp - app should format it
372
+ */
373
+ interface FriendsRow {
374
+ name: string;
375
+ reputation: number;
376
+ active: string;
377
+ }
378
+ /**
379
+ * Friend search result with additional profile information
380
+ * The `active` field contains raw timestamp - app should format it
381
+ */
382
+ interface FriendSearchResult {
383
+ name: string;
384
+ full_name: string;
385
+ reputation: number;
386
+ active: string;
387
+ }
388
+
119
389
  interface Payload$4 {
120
390
  profile: Partial<AccountProfile>;
121
391
  tokens: AccountProfile["tokens"];
@@ -379,6 +649,77 @@ declare function getAccountFullQueryOptions(username: string | undefined): _tans
379
649
  };
380
650
  };
381
651
 
652
+ /**
653
+ * Get multiple accounts by usernames
654
+ */
655
+ declare function getAccountsQueryOptions(usernames: string[]): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<FullAccount[], Error, FullAccount[], (string | string[])[]>, "queryFn"> & {
656
+ queryFn?: _tanstack_react_query.QueryFunction<FullAccount[], (string | string[])[], never> | undefined;
657
+ } & {
658
+ queryKey: (string | string[])[] & {
659
+ [dataTagSymbol]: FullAccount[];
660
+ [dataTagErrorSymbol]: Error;
661
+ };
662
+ };
663
+
664
+ /**
665
+ * Get follow count (followers and following) for an account
666
+ */
667
+ declare function getFollowCountQueryOptions(username: string): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<AccountFollowStats, Error, AccountFollowStats, string[]>, "queryFn"> & {
668
+ queryFn?: _tanstack_react_query.QueryFunction<AccountFollowStats, string[], never> | undefined;
669
+ } & {
670
+ queryKey: string[] & {
671
+ [dataTagSymbol]: AccountFollowStats;
672
+ [dataTagErrorSymbol]: Error;
673
+ };
674
+ };
675
+
676
+ /**
677
+ * Get list of accounts that a user is following
678
+ *
679
+ * @param follower - The account doing the following
680
+ * @param startFollowing - Pagination start point (account name)
681
+ * @param followType - Type of follow relationship (default: "blog")
682
+ * @param limit - Maximum number of results (default: 100)
683
+ */
684
+ declare function getFollowingQueryOptions(follower: string | undefined, startFollowing: string, followType?: string, limit?: number): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<Follow[], Error, Follow[], (string | number | undefined)[]>, "queryFn"> & {
685
+ queryFn?: _tanstack_react_query.QueryFunction<Follow[], (string | number | undefined)[], never> | undefined;
686
+ } & {
687
+ queryKey: (string | number | undefined)[] & {
688
+ [dataTagSymbol]: Follow[];
689
+ [dataTagErrorSymbol]: Error;
690
+ };
691
+ };
692
+
693
+ /**
694
+ * Get list of users that an account has muted
695
+ *
696
+ * @param username - The account username
697
+ * @param limit - Maximum number of results (default: 100)
698
+ */
699
+ declare function getMutedUsersQueryOptions(username: string | undefined, limit?: number): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<string[], Error, string[], (string | undefined)[]>, "queryFn"> & {
700
+ queryFn?: _tanstack_react_query.QueryFunction<string[], (string | undefined)[], never> | undefined;
701
+ } & {
702
+ queryKey: (string | undefined)[] & {
703
+ [dataTagSymbol]: string[];
704
+ [dataTagErrorSymbol]: Error;
705
+ };
706
+ };
707
+
708
+ /**
709
+ * Lookup accounts by username prefix
710
+ *
711
+ * @param query - Username prefix to search for
712
+ * @param limit - Maximum number of results (default: 50)
713
+ */
714
+ declare function lookupAccountsQueryOptions(query: string, limit?: number): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<string[], Error, string[], (string | number)[]>, "queryFn"> & {
715
+ queryFn?: _tanstack_react_query.QueryFunction<string[], (string | number)[], never> | undefined;
716
+ } & {
717
+ queryKey: (string | number)[] & {
718
+ [dataTagSymbol]: string[];
719
+ [dataTagErrorSymbol]: Error;
720
+ };
721
+ };
722
+
382
723
  declare function getSearchAccountsByUsernameQueryOptions(query: string, limit?: number, excludeList?: string[]): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<string[], Error, string[], (string | string[])[]>, "queryFn"> & {
383
724
  queryFn?: _tanstack_react_query.QueryFunction<string[], (string | string[])[], never> | undefined;
384
725
  } & {
@@ -466,6 +807,277 @@ declare function getAccountPendingRecoveryQueryOptions(username: string | undefi
466
807
  };
467
808
  };
468
809
 
810
+ declare const ACCOUNT_OPERATION_GROUPS: Record<OperationGroup, number[]>;
811
+ declare const ALL_ACCOUNT_OPERATIONS: number[];
812
+ type TxPage = Transaction[];
813
+ /**
814
+ * Get account transaction history with pagination and filtering
815
+ *
816
+ * @param username - Account name to get transactions for
817
+ * @param limit - Number of transactions per page
818
+ * @param group - Filter by operation group (transfers, market-orders, etc.)
819
+ */
820
+ declare function getTransactionsInfiniteQueryOptions(username?: string, limit?: number, group?: OperationGroup | ""): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseInfiniteQueryOptions<TxPage, Error, TxPage, (string | number)[], number>, "queryFn"> & {
821
+ queryFn?: _tanstack_react_query.QueryFunction<TxPage, (string | number)[], number> | undefined;
822
+ } & {
823
+ queryKey: (string | number)[] & {
824
+ [dataTagSymbol]: _tanstack_react_query.InfiniteData<TxPage, unknown>;
825
+ [dataTagErrorSymbol]: Error;
826
+ };
827
+ };
828
+
829
+ declare function getBotsQueryOptions(): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<string[], Error, string[], string[]>, "queryFn"> & {
830
+ queryFn?: _tanstack_react_query.QueryFunction<string[], string[], never> | undefined;
831
+ } & {
832
+ queryKey: string[] & {
833
+ [dataTagSymbol]: string[];
834
+ [dataTagErrorSymbol]: Error;
835
+ };
836
+ };
837
+
838
+ type PageParam$3 = {
839
+ maxId?: number;
840
+ };
841
+ declare function getReferralsInfiniteQueryOptions(username: string): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseInfiniteQueryOptions<ReferralItem[], Error, _tanstack_react_query.InfiniteData<ReferralItem[], unknown>, string[], PageParam$3>, "queryFn"> & {
842
+ queryFn?: _tanstack_react_query.QueryFunction<ReferralItem[], string[], PageParam$3> | undefined;
843
+ } & {
844
+ queryKey: string[] & {
845
+ [dataTagSymbol]: _tanstack_react_query.InfiniteData<ReferralItem[], unknown>;
846
+ [dataTagErrorSymbol]: Error;
847
+ };
848
+ };
849
+
850
+ declare function getReferralsStatsQueryOptions(username: string): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ReferralStat, Error, ReferralStat, string[]>, "queryFn"> & {
851
+ queryFn?: _tanstack_react_query.QueryFunction<ReferralStat, string[], never> | undefined;
852
+ } & {
853
+ queryKey: string[] & {
854
+ [dataTagSymbol]: ReferralStat;
855
+ [dataTagErrorSymbol]: Error;
856
+ };
857
+ };
858
+
859
+ interface FriendsPageParam {
860
+ startFollowing: string;
861
+ }
862
+ type FriendsPage = FriendsRow[];
863
+ /**
864
+ * Get list of friends (following/followers) with profile information
865
+ *
866
+ * @param following - The account whose friends to get
867
+ * @param mode - "following" or "followers"
868
+ * @param followType - Type of follow relationship (default: "blog")
869
+ * @param limit - Number of results per page (default: 100)
870
+ * @param enabled - Whether query is enabled (default: true)
871
+ */
872
+ declare function getFriendsInfiniteQueryOptions(following: string, mode: "following" | "followers", options?: {
873
+ followType?: string;
874
+ limit?: number;
875
+ enabled?: boolean;
876
+ }): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseInfiniteQueryOptions<FriendsPage, Error, FriendsPage, (string | number)[], FriendsPageParam>, "queryFn"> & {
877
+ queryFn?: _tanstack_react_query.QueryFunction<FriendsPage, (string | number)[], FriendsPageParam> | undefined;
878
+ } & {
879
+ queryKey: (string | number)[] & {
880
+ [dataTagSymbol]: _tanstack_react_query.InfiniteData<FriendsPage, unknown>;
881
+ [dataTagErrorSymbol]: Error;
882
+ };
883
+ };
884
+
885
+ /**
886
+ * Search friends (following/followers) by query string
887
+ *
888
+ * @param username - The account whose friends to search
889
+ * @param mode - "following" or "followers"
890
+ * @param query - Search query string
891
+ */
892
+ declare function getSearchFriendsQueryOptions(username: string, mode: "following" | "followers", query: string): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<FriendSearchResult[], Error, FriendSearchResult[], string[]>, "queryFn"> & {
893
+ queryFn?: _tanstack_react_query.QueryFunction<FriendSearchResult[], string[], never> | undefined;
894
+ } & {
895
+ queryKey: string[] & {
896
+ [dataTagSymbol]: FriendSearchResult[];
897
+ [dataTagErrorSymbol]: Error;
898
+ };
899
+ };
900
+
901
+ interface TrendingTag {
902
+ comments: number;
903
+ name: string;
904
+ top_posts: number;
905
+ total_payouts: string;
906
+ }
907
+
908
+ interface Fragment {
909
+ id: string;
910
+ title: string;
911
+ body: string;
912
+ created: string;
913
+ modified: string;
914
+ }
915
+
916
+ interface EntryBeneficiaryRoute {
917
+ account: string;
918
+ weight: number;
919
+ }
920
+ interface EntryVote {
921
+ voter: string;
922
+ rshares: number;
923
+ }
924
+ interface EntryStat {
925
+ flag_weight: number;
926
+ gray: boolean;
927
+ hide: boolean;
928
+ total_votes: number;
929
+ is_pinned?: boolean;
930
+ }
931
+ interface JsonMetadata {
932
+ tags?: string[];
933
+ description?: string | null;
934
+ app?: any;
935
+ canonical_url?: string;
936
+ format?: string;
937
+ original_author?: string;
938
+ original_permlink?: string;
939
+ image?: string[];
940
+ pinned_reply?: string;
941
+ location?: {
942
+ coordinates: {
943
+ lat: number;
944
+ lng: number;
945
+ };
946
+ address?: string;
947
+ };
948
+ }
949
+ interface JsonPollMetadata {
950
+ content_type: "poll";
951
+ version: number;
952
+ question: string;
953
+ choices: string[];
954
+ preferred_interpretation: string;
955
+ token: string;
956
+ vote_change: boolean;
957
+ hide_votes: boolean;
958
+ filters: {
959
+ account_age: number;
960
+ };
961
+ end_time: number;
962
+ max_choices_voted?: number;
963
+ }
964
+ interface Entry$1 {
965
+ last_update?: string;
966
+ active_votes: EntryVote[];
967
+ author: string;
968
+ author_payout_value: string;
969
+ author_reputation: number;
970
+ author_role?: string;
971
+ author_title?: string;
972
+ beneficiaries: EntryBeneficiaryRoute[];
973
+ blacklists: string[];
974
+ body: string;
975
+ category: string;
976
+ children: number;
977
+ community?: string;
978
+ community_title?: string;
979
+ created: string;
980
+ total_votes?: number;
981
+ curator_payout_value: string;
982
+ depth: number;
983
+ is_paidout: boolean;
984
+ json_metadata: JsonMetadata | null;
985
+ max_accepted_payout: string;
986
+ net_rshares: number;
987
+ parent_author?: string;
988
+ parent_permlink?: string;
989
+ payout: number;
990
+ payout_at: string;
991
+ pending_payout_value: string;
992
+ percent_hbd: number;
993
+ permlink: string;
994
+ post_id: any;
995
+ id?: number;
996
+ num?: number;
997
+ promoted: string;
998
+ reblogs?: number;
999
+ reblogged_by?: string[] | any;
1000
+ replies: any[];
1001
+ stats: EntryStat | null;
1002
+ title: string;
1003
+ updated: string;
1004
+ url: string;
1005
+ original_entry?: Entry$1;
1006
+ is_optimistic?: boolean;
1007
+ }
1008
+ interface EntryHeader {
1009
+ author: string;
1010
+ category: string;
1011
+ permlink: string;
1012
+ depth: number;
1013
+ }
1014
+ interface Vote {
1015
+ percent: number;
1016
+ reputation: number;
1017
+ rshares: string;
1018
+ time: string;
1019
+ timestamp?: number;
1020
+ voter: string;
1021
+ weight: number;
1022
+ }
1023
+
1024
+ interface PostTip {
1025
+ sender: string;
1026
+ receiver: string;
1027
+ amount: number;
1028
+ currency: string;
1029
+ memo: string;
1030
+ source: string;
1031
+ timestamp: string;
1032
+ }
1033
+ interface PostTipsResponse {
1034
+ meta: {
1035
+ count: number;
1036
+ totals: Record<string, number>;
1037
+ };
1038
+ list: PostTip[];
1039
+ }
1040
+
1041
+ interface ThreadItemEntry extends Entry$1 {
1042
+ host: string;
1043
+ container: WaveEntry;
1044
+ parent?: Entry$1;
1045
+ }
1046
+ type WaveEntry = ThreadItemEntry & Required<Pick<Entry$1, "id">>;
1047
+ interface WaveTrendingTag {
1048
+ tag: string;
1049
+ posts: number;
1050
+ }
1051
+
1052
+ interface VoteHistoryPageParam {
1053
+ start: number;
1054
+ }
1055
+ interface VoteHistoryPage {
1056
+ lastDate: number;
1057
+ lastItemFetched: number;
1058
+ entries: Entry$1[];
1059
+ }
1060
+ /**
1061
+ * Get account vote history with entries
1062
+ *
1063
+ * @param username - Account name to get vote history for
1064
+ * @param limit - Number of history items per page (default: 20)
1065
+ * @param filters - Additional filters to pass to get_account_history
1066
+ * @param dayLimit - Only include votes from last N days (default: 7)
1067
+ */
1068
+ declare function getAccountVoteHistoryInfiniteQueryOptions<F>(username: string, options?: {
1069
+ limit?: number;
1070
+ filters?: F[];
1071
+ dayLimit?: number;
1072
+ }): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseInfiniteQueryOptions<VoteHistoryPage, Error, VoteHistoryPage, (string | number)[], VoteHistoryPageParam>, "queryFn"> & {
1073
+ queryFn?: _tanstack_react_query.QueryFunction<VoteHistoryPage, (string | number)[], VoteHistoryPageParam> | undefined;
1074
+ } & {
1075
+ queryKey: (string | number)[] & {
1076
+ [dataTagSymbol]: _tanstack_react_query.InfiniteData<VoteHistoryPage, unknown>;
1077
+ [dataTagErrorSymbol]: Error;
1078
+ };
1079
+ };
1080
+
469
1081
  type ProfileTokens = AccountProfile["tokens"];
470
1082
  interface BuildProfileMetadataArgs {
471
1083
  existingProfile?: AccountProfile;
@@ -476,6 +1088,12 @@ declare function parseProfileMetadata(postingJsonMetadata?: string | null): Acco
476
1088
  declare function extractAccountProfile(data?: Pick<FullAccount, "posting_json_metadata"> | null): AccountProfile;
477
1089
  declare function buildProfileMetadata({ existingProfile, profile, tokens, }: BuildProfileMetadataArgs): AccountProfile;
478
1090
 
1091
+ /**
1092
+ * Parses raw account data from Hive API into FullAccount type
1093
+ * Handles profile metadata extraction from posting_json_metadata or json_metadata
1094
+ */
1095
+ declare function parseAccounts(rawAccounts: any[]): FullAccount[];
1096
+
479
1097
  declare function useSignOperationByKey(username: string | undefined): _tanstack_react_query.UseMutationResult<_hiveio_dhive.TransactionConfirmation, Error, {
480
1098
  operation: Operation;
481
1099
  keyOrSeed: string;
@@ -544,9 +1162,22 @@ declare const CONFIG: {
544
1162
  queryClient: QueryClient;
545
1163
  plausibleHost: string;
546
1164
  spkNode: string;
1165
+ dmcaAccounts: string[];
1166
+ dmcaTags: string[];
1167
+ dmcaPatterns: string[];
1168
+ dmcaTagRegexes: RegExp[];
1169
+ dmcaPatternRegexes: RegExp[];
1170
+ _dmcaInitialized: boolean;
547
1171
  };
548
1172
  declare namespace ConfigManager {
549
1173
  function setQueryClient(client: QueryClient): void;
1174
+ /**
1175
+ * Set DMCA filtering lists
1176
+ * @param accounts - List of account usernames to filter (plain strings)
1177
+ * @param tags - List of tag patterns (regex strings) to filter
1178
+ * @param patterns - List of post patterns (plain strings) like "@author/permlink" for exact matching
1179
+ */
1180
+ function setDmcaLists(accounts?: string[], tags?: string[], patterns?: string[]): void;
550
1181
  }
551
1182
 
552
1183
  declare function makeQueryClient(): QueryClient;
@@ -630,21 +1261,6 @@ declare function getTrendingTagsQueryOptions(limit?: number): _tanstack_react_qu
630
1261
  };
631
1262
  };
632
1263
 
633
- interface TrendingTag {
634
- comments: number;
635
- name: string;
636
- top_posts: number;
637
- total_payouts: string;
638
- }
639
-
640
- interface Fragment {
641
- id: string;
642
- title: string;
643
- body: string;
644
- created: string;
645
- modified: string;
646
- }
647
-
648
1264
  declare function getFragmentsQueryOptions(username: string): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<Fragment[], Error, Fragment[], string[]>, "queryFn"> & {
649
1265
  queryFn?: _tanstack_react_query.QueryFunction<Fragment[], string[], never> | undefined;
650
1266
  } & {
@@ -663,10 +1279,271 @@ declare function getPromotedPostsQuery<T extends any>(type?: "feed" | "waves"):
663
1279
  };
664
1280
  };
665
1281
 
666
- declare function useAddFragment(username: string): _tanstack_react_query.UseMutationResult<Fragment, Error, {
667
- title: string;
668
- body: string;
669
- }, unknown>;
1282
+ declare function getEntryActiveVotesQueryOptions(entry?: Entry$1): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<Vote[], Error, Vote[], (string | undefined)[]>, "queryFn"> & {
1283
+ queryFn?: _tanstack_react_query.QueryFunction<Vote[], (string | undefined)[], never> | undefined;
1284
+ } & {
1285
+ queryKey: (string | undefined)[] & {
1286
+ [dataTagSymbol]: Vote[];
1287
+ [dataTagErrorSymbol]: Error;
1288
+ };
1289
+ };
1290
+
1291
+ declare function getPostHeaderQueryOptions(author: string, permlink: string): Omit<_tanstack_react_query.UseQueryOptions<Entry$1 | null, Error, Entry$1 | null, string[]>, "queryFn"> & {
1292
+ initialData: Entry$1 | (() => Entry$1 | null) | null;
1293
+ queryFn?: _tanstack_react_query.QueryFunction<Entry$1 | null, string[]> | undefined;
1294
+ } & {
1295
+ queryKey: string[] & {
1296
+ [dataTagSymbol]: Entry$1 | null;
1297
+ [dataTagErrorSymbol]: Error;
1298
+ };
1299
+ };
1300
+
1301
+ declare function getPostQueryOptions(author: string, permlink?: string, observer?: string, num?: number): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<Entry$1 | null | undefined, Error, Entry$1 | null | undefined, string[]>, "queryFn"> & {
1302
+ queryFn?: _tanstack_react_query.QueryFunction<Entry$1 | null | undefined, string[], never> | undefined;
1303
+ } & {
1304
+ queryKey: string[] & {
1305
+ [dataTagSymbol]: Entry$1 | null | undefined;
1306
+ [dataTagErrorSymbol]: Error;
1307
+ };
1308
+ };
1309
+
1310
+ declare enum SortOrder {
1311
+ trending = "trending",
1312
+ author_reputation = "author_reputation",
1313
+ votes = "votes",
1314
+ created = "created"
1315
+ }
1316
+ declare function sortDiscussions(entry: Entry$1, discussion: Entry$1[], order: SortOrder): Entry$1[];
1317
+ declare function getDiscussionsQueryOptions(entry: Entry$1, order?: SortOrder, enabled?: boolean, observer?: string): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<Entry$1[], Error, Entry$1[], string[]>, "queryFn"> & {
1318
+ queryFn?: _tanstack_react_query.QueryFunction<Entry$1[], string[], never> | undefined;
1319
+ } & {
1320
+ queryKey: string[] & {
1321
+ [dataTagSymbol]: Entry$1[];
1322
+ [dataTagErrorSymbol]: Error;
1323
+ };
1324
+ };
1325
+
1326
+ type PageParam$2 = {
1327
+ author: string | undefined;
1328
+ permlink: string | undefined;
1329
+ hasNextPage: boolean;
1330
+ };
1331
+ type Page = Entry$1[];
1332
+ declare function getAccountPostsInfiniteQueryOptions(username: string | undefined, filter?: string, limit?: number, observer?: string, enabled?: boolean): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseInfiniteQueryOptions<Page, Error, Page, (string | number)[], PageParam$2>, "queryFn"> & {
1333
+ queryFn?: _tanstack_react_query.QueryFunction<Page, (string | number)[], PageParam$2> | undefined;
1334
+ } & {
1335
+ queryKey: (string | number)[] & {
1336
+ [dataTagSymbol]: _tanstack_react_query.InfiniteData<Page, unknown>;
1337
+ [dataTagErrorSymbol]: Error;
1338
+ };
1339
+ };
1340
+
1341
+ type PageParam$1 = {
1342
+ author: string | undefined;
1343
+ permlink: string | undefined;
1344
+ hasNextPage: boolean;
1345
+ };
1346
+ interface GetPostsRankedOptions {
1347
+ resolvePosts?: boolean;
1348
+ }
1349
+ declare function getPostsRankedInfiniteQueryOptions(sort: string, tag: string, limit?: number, observer?: string, enabled?: boolean, _options?: GetPostsRankedOptions): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseInfiniteQueryOptions<Entry$1[], Error, Entry$1[], (string | number)[], PageParam$1>, "queryFn"> & {
1350
+ queryFn?: _tanstack_react_query.QueryFunction<Entry$1[], (string | number)[], PageParam$1> | undefined;
1351
+ } & {
1352
+ queryKey: (string | number)[] & {
1353
+ [dataTagSymbol]: _tanstack_react_query.InfiniteData<Entry$1[], unknown>;
1354
+ [dataTagErrorSymbol]: Error;
1355
+ };
1356
+ };
1357
+
1358
+ interface BlogEntry {
1359
+ author: string;
1360
+ permlink: string;
1361
+ blog: string;
1362
+ reblog_on: string;
1363
+ reblogged_on: string;
1364
+ entry_id: number;
1365
+ }
1366
+ interface Reblog {
1367
+ author: string;
1368
+ permlink: string;
1369
+ }
1370
+ declare function getReblogsQueryOptions(username?: string, activeUsername?: string, limit?: number): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<Reblog[], Error, Reblog[], (string | number)[]>, "queryFn"> & {
1371
+ queryFn?: _tanstack_react_query.QueryFunction<Reblog[], (string | number)[], never> | undefined;
1372
+ } & {
1373
+ queryKey: (string | number)[] & {
1374
+ [dataTagSymbol]: Reblog[];
1375
+ [dataTagErrorSymbol]: Error;
1376
+ };
1377
+ };
1378
+
1379
+ interface Schedule {
1380
+ _id: string;
1381
+ username: string;
1382
+ permlink: string;
1383
+ title: string;
1384
+ body: string;
1385
+ tags: string[];
1386
+ tags_arr: string;
1387
+ schedule: string;
1388
+ original_schedule: string;
1389
+ reblog: boolean;
1390
+ status: 1 | 2 | 3 | 4;
1391
+ message: string | null;
1392
+ }
1393
+
1394
+ declare function getSchedulesQueryOptions(activeUsername: string | undefined): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<Schedule[], Error, Schedule[], (string | undefined)[]>, "queryFn"> & {
1395
+ queryFn?: _tanstack_react_query.QueryFunction<Schedule[], (string | undefined)[], never> | undefined;
1396
+ } & {
1397
+ queryKey: (string | undefined)[] & {
1398
+ [dataTagSymbol]: Schedule[];
1399
+ [dataTagErrorSymbol]: Error;
1400
+ };
1401
+ };
1402
+
1403
+ interface DraftMetadata {
1404
+ beneficiaries?: Array<{
1405
+ account: string;
1406
+ weight: number;
1407
+ }>;
1408
+ rewardType?: string;
1409
+ videos?: Record<string, any>;
1410
+ poll?: any;
1411
+ [key: string]: any;
1412
+ }
1413
+ interface Draft {
1414
+ body: string;
1415
+ created: string;
1416
+ modified: string;
1417
+ post_type: string;
1418
+ tags_arr: string[];
1419
+ tags: string;
1420
+ timestamp: number;
1421
+ title: string;
1422
+ _id: string;
1423
+ meta?: DraftMetadata;
1424
+ }
1425
+
1426
+ declare function getDraftsQueryOptions(activeUsername: string | undefined): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<Draft[], Error, Draft[], (string | undefined)[]>, "queryFn"> & {
1427
+ queryFn?: _tanstack_react_query.QueryFunction<Draft[], (string | undefined)[], never> | undefined;
1428
+ } & {
1429
+ queryKey: (string | undefined)[] & {
1430
+ [dataTagSymbol]: Draft[];
1431
+ [dataTagErrorSymbol]: Error;
1432
+ };
1433
+ };
1434
+
1435
+ interface UserImage {
1436
+ created: string;
1437
+ timestamp: number;
1438
+ url: string;
1439
+ _id: string;
1440
+ }
1441
+
1442
+ declare function getImagesQueryOptions(username?: string): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<UserImage[], Error, UserImage[], (string | undefined)[]>, "queryFn"> & {
1443
+ queryFn?: _tanstack_react_query.QueryFunction<UserImage[], (string | undefined)[], never> | undefined;
1444
+ } & {
1445
+ queryKey: (string | undefined)[] & {
1446
+ [dataTagSymbol]: UserImage[];
1447
+ [dataTagErrorSymbol]: Error;
1448
+ };
1449
+ };
1450
+ declare function getGalleryImagesQueryOptions(activeUsername: string | undefined): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<UserImage[], Error, UserImage[], (string | undefined)[]>, "queryFn"> & {
1451
+ queryFn?: _tanstack_react_query.QueryFunction<UserImage[], (string | undefined)[], never> | undefined;
1452
+ } & {
1453
+ queryKey: (string | undefined)[] & {
1454
+ [dataTagSymbol]: UserImage[];
1455
+ [dataTagErrorSymbol]: Error;
1456
+ };
1457
+ };
1458
+
1459
+ interface CommentHistoryListItem {
1460
+ title: string;
1461
+ body: string;
1462
+ tags: string[];
1463
+ timestamp: string;
1464
+ v: number;
1465
+ }
1466
+ interface CommentHistory {
1467
+ meta: {
1468
+ count: number;
1469
+ };
1470
+ list: CommentHistoryListItem[];
1471
+ }
1472
+
1473
+ declare function getCommentHistoryQueryOptions(author: string, permlink: string, onlyMeta?: boolean): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<CommentHistory, Error, CommentHistory, (string | boolean)[]>, "queryFn"> & {
1474
+ queryFn?: _tanstack_react_query.QueryFunction<CommentHistory, (string | boolean)[], never> | undefined;
1475
+ } & {
1476
+ queryKey: (string | boolean)[] & {
1477
+ [dataTagSymbol]: CommentHistory;
1478
+ [dataTagErrorSymbol]: Error;
1479
+ };
1480
+ };
1481
+
1482
+ interface DeletedEntry {
1483
+ body: string;
1484
+ title: string;
1485
+ tags: string[];
1486
+ }
1487
+ declare function getDeletedEntryQueryOptions(author: string, permlink: string): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<CommentHistory, Error, DeletedEntry | null, string[]>, "queryFn"> & {
1488
+ queryFn?: _tanstack_react_query.QueryFunction<CommentHistory, string[], never> | undefined;
1489
+ } & {
1490
+ queryKey: string[] & {
1491
+ [dataTagSymbol]: CommentHistory;
1492
+ [dataTagErrorSymbol]: Error;
1493
+ };
1494
+ };
1495
+
1496
+ declare function getPostTipsQueryOptions(author: string, permlink: string, isEnabled?: boolean): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<PostTipsResponse, Error, PostTipsResponse, string[]>, "queryFn"> & {
1497
+ queryFn?: _tanstack_react_query.QueryFunction<PostTipsResponse, string[], never> | undefined;
1498
+ } & {
1499
+ queryKey: string[] & {
1500
+ [dataTagSymbol]: PostTipsResponse;
1501
+ [dataTagErrorSymbol]: Error;
1502
+ };
1503
+ };
1504
+
1505
+ type WavesPage = WaveEntry[];
1506
+ type WavesCursor = WaveEntry | undefined;
1507
+ declare function getWavesByHostQueryOptions(host: string): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseInfiniteQueryOptions<WavesPage, Error, WavesPage, string[], WavesCursor>, "queryFn"> & {
1508
+ queryFn?: _tanstack_react_query.QueryFunction<WavesPage, string[], WavesCursor> | undefined;
1509
+ } & {
1510
+ queryKey: string[] & {
1511
+ [dataTagSymbol]: _tanstack_react_query.InfiniteData<WavesPage, unknown>;
1512
+ [dataTagErrorSymbol]: Error;
1513
+ };
1514
+ };
1515
+
1516
+ declare function getWavesByTagQueryOptions(host: string, tag: string, limit?: number): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseInfiniteQueryOptions<WaveEntry[], Error, _tanstack_react_query.InfiniteData<WaveEntry[], unknown>, string[], undefined>, "queryFn"> & {
1517
+ queryFn?: _tanstack_react_query.QueryFunction<WaveEntry[], string[], undefined> | undefined;
1518
+ } & {
1519
+ queryKey: string[] & {
1520
+ [dataTagSymbol]: _tanstack_react_query.InfiniteData<WaveEntry[], unknown>;
1521
+ [dataTagErrorSymbol]: Error;
1522
+ };
1523
+ };
1524
+
1525
+ declare function getWavesFollowingQueryOptions(host: string, username?: string): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseInfiniteQueryOptions<WaveEntry[], Error, _tanstack_react_query.InfiniteData<WaveEntry[], unknown>, string[], undefined>, "queryFn"> & {
1526
+ queryFn?: _tanstack_react_query.QueryFunction<WaveEntry[], string[], undefined> | undefined;
1527
+ } & {
1528
+ queryKey: string[] & {
1529
+ [dataTagSymbol]: _tanstack_react_query.InfiniteData<WaveEntry[], unknown>;
1530
+ [dataTagErrorSymbol]: Error;
1531
+ };
1532
+ };
1533
+
1534
+ declare function getWavesTrendingTagsQueryOptions(host: string, hours?: number): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<WaveTrendingTag[], Error, WaveTrendingTag[], (string | number)[]>, "queryFn"> & {
1535
+ queryFn?: _tanstack_react_query.QueryFunction<WaveTrendingTag[], (string | number)[], never> | undefined;
1536
+ } & {
1537
+ queryKey: (string | number)[] & {
1538
+ [dataTagSymbol]: WaveTrendingTag[];
1539
+ [dataTagErrorSymbol]: Error;
1540
+ };
1541
+ };
1542
+
1543
+ declare function useAddFragment(username: string): _tanstack_react_query.UseMutationResult<Fragment, Error, {
1544
+ title: string;
1545
+ body: string;
1546
+ }, unknown>;
670
1547
 
671
1548
  declare function useEditFragment(username: string, fragmentId: string): _tanstack_react_query.UseMutationResult<Fragment, Error, {
672
1549
  title: string;
@@ -675,6 +1552,18 @@ declare function useEditFragment(username: string, fragmentId: string): _tanstac
675
1552
 
676
1553
  declare function useRemoveFragment(username: string, fragmentId: string): _tanstack_react_query.UseMutationResult<Response, Error, void, unknown>;
677
1554
 
1555
+ type EntryWithPostId = Entry$1 & {
1556
+ post_id: number;
1557
+ };
1558
+ declare function normalizeWaveEntryFromApi(entry: (Entry$1 & {
1559
+ post_id: number;
1560
+ container?: EntryWithPostId | null;
1561
+ parent?: EntryWithPostId | null;
1562
+ }) | null | undefined, host: string): WaveEntry | null;
1563
+ declare function toEntryArray(x: unknown): Entry$1[];
1564
+ declare function getVisibleFirstLevelThreadItems(container: WaveEntry): Promise<Entry$1[]>;
1565
+ declare function mapThreadItemsToWaveEntries(items: Entry$1[], container: WaveEntry, host: string): WaveEntry[];
1566
+
678
1567
  type ActivityType = "post-created" | "post-updated" | "post-scheduled" | "draft-created" | "video-published" | "legacy-post-created" | "legacy-post-updated" | "legacy-post-scheduled" | "legacy-draft-created" | "legacy-video-published" | "perks-points-by-qr" | "perks-account-boost" | "perks-promote" | "perks-boost-plus" | "points-claimed" | "spin-rolled" | "signed-up-with-wallets" | "signed-up-with-email";
679
1568
  declare function useRecordActivity(username: string | undefined, activityType: ActivityType): _tanstack_react_query.UseMutationResult<void, Error, void, unknown>;
680
1569
 
@@ -683,6 +1572,72 @@ declare namespace index {
683
1572
  export { index_useRecordActivity as useRecordActivity };
684
1573
  }
685
1574
 
1575
+ interface LeaderBoardItem {
1576
+ _id: string;
1577
+ count: number;
1578
+ points: string;
1579
+ }
1580
+ type LeaderBoardDuration = "day" | "week" | "month";
1581
+
1582
+ interface CurationItem {
1583
+ efficiency: number;
1584
+ account: string;
1585
+ vests: number;
1586
+ votes: number;
1587
+ uniques: number;
1588
+ }
1589
+ type CurationDuration = "day" | "week" | "month";
1590
+
1591
+ interface PageStatsResponse {
1592
+ results: [
1593
+ {
1594
+ metrics: number[];
1595
+ dimensions: string[];
1596
+ }
1597
+ ];
1598
+ query: {
1599
+ site_id: string;
1600
+ metrics: string[];
1601
+ date_range: string[];
1602
+ filters: string[];
1603
+ };
1604
+ }
1605
+
1606
+ declare function getDiscoverLeaderboardQueryOptions(duration: LeaderBoardDuration): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<LeaderBoardItem[], Error, LeaderBoardItem[], string[]>, "queryFn"> & {
1607
+ queryFn?: _tanstack_react_query.QueryFunction<LeaderBoardItem[], string[], never> | undefined;
1608
+ } & {
1609
+ queryKey: string[] & {
1610
+ [dataTagSymbol]: LeaderBoardItem[];
1611
+ [dataTagErrorSymbol]: Error;
1612
+ };
1613
+ };
1614
+
1615
+ declare function getDiscoverCurationQueryOptions(duration: CurationDuration): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<CurationItem[], Error, CurationItem[], string[]>, "queryFn"> & {
1616
+ queryFn?: _tanstack_react_query.QueryFunction<CurationItem[], string[], never> | undefined;
1617
+ } & {
1618
+ queryKey: string[] & {
1619
+ [dataTagSymbol]: CurationItem[];
1620
+ [dataTagErrorSymbol]: Error;
1621
+ };
1622
+ };
1623
+
1624
+ /**
1625
+ * Get page statistics from the private analytics API
1626
+ *
1627
+ * @param url - URL to get stats for
1628
+ * @param dimensions - Dimensions to query (default: [])
1629
+ * @param metrics - Metrics to query (default: ["visitors", "pageviews", "visit_duration"])
1630
+ * @param dateRange - Date range for the query
1631
+ */
1632
+ declare function getPageStatsQueryOptions(url: string, dimensions?: string[], metrics?: string[], dateRange?: string[]): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<PageStatsResponse, Error, PageStatsResponse, (string | string[] | undefined)[]>, "queryFn"> & {
1633
+ queryFn?: _tanstack_react_query.QueryFunction<PageStatsResponse, (string | string[] | undefined)[], never> | undefined;
1634
+ } & {
1635
+ queryKey: (string | string[] | undefined)[] & {
1636
+ [dataTagSymbol]: PageStatsResponse;
1637
+ [dataTagErrorSymbol]: Error;
1638
+ };
1639
+ };
1640
+
686
1641
  interface ThreeSpeakVideo {
687
1642
  app: string;
688
1643
  beneficiaries: string;
@@ -791,7 +1746,7 @@ declare function getHivePoshLinksQueryOptions(username: string | undefined): _ta
791
1746
  username: any;
792
1747
  profile: any;
793
1748
  };
794
- }, Error, {
1749
+ } | null, Error, {
795
1750
  twitter: {
796
1751
  username: any;
797
1752
  profile: any;
@@ -800,7 +1755,7 @@ declare function getHivePoshLinksQueryOptions(username: string | undefined): _ta
800
1755
  username: any;
801
1756
  profile: any;
802
1757
  };
803
- }, (string | undefined)[]>, "queryFn"> & {
1758
+ } | null, (string | undefined)[]>, "queryFn"> & {
804
1759
  queryFn?: _tanstack_react_query.QueryFunction<{
805
1760
  twitter: {
806
1761
  username: any;
@@ -810,7 +1765,7 @@ declare function getHivePoshLinksQueryOptions(username: string | undefined): _ta
810
1765
  username: any;
811
1766
  profile: any;
812
1767
  };
813
- }, (string | undefined)[], never> | undefined;
1768
+ } | null, (string | undefined)[], never> | undefined;
814
1769
  } & {
815
1770
  queryKey: (string | undefined)[] & {
816
1771
  [dataTagSymbol]: {
@@ -822,7 +1777,7 @@ declare function getHivePoshLinksQueryOptions(username: string | undefined): _ta
822
1777
  username: any;
823
1778
  profile: any;
824
1779
  };
825
- };
1780
+ } | null;
826
1781
  [dataTagErrorSymbol]: Error;
827
1782
  };
828
1783
  };
@@ -998,6 +1953,23 @@ interface Community {
998
1953
  }
999
1954
  type Communities = Community[];
1000
1955
 
1956
+ type Subscription = string[];
1957
+
1958
+ interface AccountNotification {
1959
+ date: string;
1960
+ id: number;
1961
+ msg: string;
1962
+ score: number;
1963
+ type: string;
1964
+ url: string;
1965
+ }
1966
+
1967
+ interface RewardedCommunity {
1968
+ start_date: string;
1969
+ total_rewards: string;
1970
+ name: string;
1971
+ }
1972
+
1001
1973
  declare function getCommunitiesQueryOptions(sort: string, query?: string, limit?: number, observer?: string | undefined, enabled?: boolean): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<Communities, Error, Communities, (string | number | undefined)[]>, "queryFn"> & {
1002
1974
  queryFn?: _tanstack_react_query.QueryFunction<Communities, (string | number | undefined)[], never> | undefined;
1003
1975
  } & {
@@ -1028,6 +2000,46 @@ declare function getCommunityContextQueryOptions(username: string | undefined, c
1028
2000
  };
1029
2001
  };
1030
2002
 
2003
+ /**
2004
+ * Get list of subscribers for a community
2005
+ *
2006
+ * @param communityName - The community name (e.g., "hive-123456")
2007
+ */
2008
+ declare function getCommunitySubscribersQueryOptions(communityName: string): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<Subscription[], Error, Subscription[], string[]>, "queryFn"> & {
2009
+ queryFn?: _tanstack_react_query.QueryFunction<Subscription[], string[], never> | undefined;
2010
+ } & {
2011
+ queryKey: string[] & {
2012
+ [dataTagSymbol]: Subscription[];
2013
+ [dataTagErrorSymbol]: Error;
2014
+ };
2015
+ };
2016
+
2017
+ type NotifPage = AccountNotification[];
2018
+ type NotifCursor = number | null;
2019
+ /**
2020
+ * Get account notifications for a community (bridge API)
2021
+ *
2022
+ * @param account - The account/community name
2023
+ * @param limit - Number of notifications per page
2024
+ */
2025
+ declare function getAccountNotificationsInfiniteQueryOptions(account: string, limit: number): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseInfiniteQueryOptions<NotifPage, Error, NotifPage, (string | number)[], NotifCursor>, "queryFn"> & {
2026
+ queryFn?: _tanstack_react_query.QueryFunction<NotifPage, (string | number)[], NotifCursor> | undefined;
2027
+ } & {
2028
+ queryKey: (string | number)[] & {
2029
+ [dataTagSymbol]: _tanstack_react_query.InfiniteData<NotifPage, unknown>;
2030
+ [dataTagErrorSymbol]: Error;
2031
+ };
2032
+ };
2033
+
2034
+ declare function getRewardedCommunitiesQueryOptions(): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<RewardedCommunity[], Error, RewardedCommunity[], string[]>, "queryFn"> & {
2035
+ queryFn?: _tanstack_react_query.QueryFunction<RewardedCommunity[], string[], never> | undefined;
2036
+ } & {
2037
+ queryKey: string[] & {
2038
+ [dataTagSymbol]: RewardedCommunity[];
2039
+ [dataTagErrorSymbol]: Error;
2040
+ };
2041
+ };
2042
+
1031
2043
  declare function getCommunityType(name: string, type_id: number): CommunityType;
1032
2044
  declare function getCommunityPermissions({ communityType, userRole, subscribed, }: {
1033
2045
  communityType: CommunityType;
@@ -1039,4 +2051,897 @@ declare function getCommunityPermissions({ communityType, userRole, subscribed,
1039
2051
  isModerator: boolean;
1040
2052
  };
1041
2053
 
1042
- export { type AccountBookmark, type AccountFavorite, type AccountFollowStats, type AccountProfile, type AccountRelationship, type AccountReputation, type Asset, type BuildProfileMetadataArgs, CONFIG, type CantAfford, type CheckUsernameWalletsPendingResponse, type Communities, type Community, type CommunityRole, type CommunityTeam, type CommunityType, ConfigManager, type DynamicProps, index as EcencyAnalytics, EcencyQueriesManager, type Fragment, type FullAccount, type GameClaim, type GetGameStatus, type GetRecoveriesEmailResponse, HiveSignerIntegration, keychain as Keychain, type Keys, NaiMap, type Payer, type ProfileTokens, ROLES, type RcStats, type Recoveries, type StatsResponse, type StoringUser, Symbol, ThreeSpeakIntegration, type ThreeSpeakVideo, type TrendingTag, type WalletMetadataCandidate, broadcastJson, buildProfileMetadata, checkUsernameWalletsPendingQueryOptions, decodeObj, dedupeAndSortKeyAuths, encodeObj, extractAccountProfile, getAccessToken, getAccountFullQueryOptions, getAccountPendingRecoveryQueryOptions, getAccountRcQueryOptions, getAccountRecoveriesQueryOptions, getAccountSubscriptionsQueryOptions, getActiveAccountBookmarksQueryOptions, getActiveAccountFavouritesQueryOptions, getBoundFetch, getChainPropertiesQueryOptions, getCommunitiesQueryOptions, getCommunityContextQueryOptions, getCommunityPermissions, getCommunityType, getDynamicPropsQueryOptions, getFragmentsQueryOptions, getGameStatusCheckQueryOptions, getHivePoshLinksQueryOptions, getLoginType, getPostingKey, getPromotedPostsQuery, getQueryClient, getRcStatsQueryOptions, getRefreshToken, getRelationshipBetweenAccountsQueryOptions, getSearchAccountsByUsernameQueryOptions, getStatsQueryOptions, getTrendingTagsQueryOptions, getUser, makeQueryClient, parseAsset, parseProfileMetadata, roleMap, useAccountFavouriteAdd, useAccountFavouriteDelete, useAccountRelationsUpdate, useAccountRevokeKey, useAccountRevokePosting, useAccountUpdate, useAccountUpdateKeyAuths, useAccountUpdatePassword, useAccountUpdateRecovery, useAddFragment, useBookmarkAdd, useBookmarkDelete, useBroadcastMutation, useEditFragment, useGameClaim, useRemoveFragment, useSignOperationByHivesigner, useSignOperationByKey, useSignOperationByKeychain };
2054
+ declare function getNotificationsUnreadCountQueryOptions(activeUsername: string | undefined): Omit<_tanstack_react_query.UseQueryOptions<number, Error, number, (string | undefined)[]>, "queryFn"> & {
2055
+ initialData: number | (() => number);
2056
+ queryFn?: _tanstack_react_query.QueryFunction<number, (string | undefined)[]> | undefined;
2057
+ } & {
2058
+ queryKey: (string | undefined)[] & {
2059
+ [dataTagSymbol]: number;
2060
+ [dataTagErrorSymbol]: Error;
2061
+ };
2062
+ };
2063
+
2064
+ declare enum NotificationFilter {
2065
+ VOTES = "rvotes",
2066
+ MENTIONS = "mentions",
2067
+ FAVORITES = "nfavorites",
2068
+ BOOKMARKS = "nbookmarks",
2069
+ FOLLOWS = "follows",
2070
+ REPLIES = "replies",
2071
+ REBLOGS = "reblogs",
2072
+ TRANSFERS = "transfers",
2073
+ DELEGATIONS = "delegations"
2074
+ }
2075
+
2076
+ declare enum NotifyTypes {
2077
+ VOTE = 1,
2078
+ MENTION = 2,
2079
+ FOLLOW = 3,
2080
+ COMMENT = 4,
2081
+ RE_BLOG = 5,
2082
+ TRANSFERS = 6,
2083
+ FAVORITES = 13,
2084
+ BOOKMARKS = 15,
2085
+ ALLOW_NOTIFY = "ALLOW_NOTIFY"
2086
+ }
2087
+ declare const ALL_NOTIFY_TYPES: readonly [NotifyTypes.VOTE, NotifyTypes.MENTION, NotifyTypes.FOLLOW, NotifyTypes.COMMENT, NotifyTypes.RE_BLOG, NotifyTypes.TRANSFERS, NotifyTypes.FAVORITES, NotifyTypes.BOOKMARKS];
2088
+ declare enum NotificationViewType {
2089
+ ALL = "All",
2090
+ UNREAD = "Unread",
2091
+ READ = "Read"
2092
+ }
2093
+
2094
+ interface BaseWsNotification {
2095
+ source: string;
2096
+ target: string;
2097
+ timestamp: string;
2098
+ }
2099
+ interface WsVoteNotification extends BaseWsNotification {
2100
+ type: "vote";
2101
+ extra: {
2102
+ permlink: string;
2103
+ weight: number;
2104
+ title: string | null;
2105
+ img_url: string | null;
2106
+ };
2107
+ }
2108
+ interface WsMentionNotification extends BaseWsNotification {
2109
+ type: "mention";
2110
+ extra: {
2111
+ permlink: string;
2112
+ is_post: 0 | 1;
2113
+ title: string | null;
2114
+ img_url: string | null;
2115
+ };
2116
+ }
2117
+ interface WsFavoriteNotification extends BaseWsNotification {
2118
+ type: "favorites";
2119
+ extra: {
2120
+ permlink: string;
2121
+ is_post: 0 | 1;
2122
+ title: string | null;
2123
+ };
2124
+ }
2125
+ interface WsBookmarkNotification extends BaseWsNotification {
2126
+ type: "bookmarks";
2127
+ extra: {
2128
+ permlink: string;
2129
+ is_post: 0 | 1;
2130
+ title: string | null;
2131
+ };
2132
+ }
2133
+ interface WsFollowNotification extends BaseWsNotification {
2134
+ type: "follow";
2135
+ extra: {
2136
+ what: string[];
2137
+ };
2138
+ }
2139
+ interface WsReplyNotification extends BaseWsNotification {
2140
+ type: "reply";
2141
+ extra: {
2142
+ title: string;
2143
+ body: string;
2144
+ json_metadata: string;
2145
+ permlink: string;
2146
+ parent_author: string;
2147
+ parent_permlink: string;
2148
+ parent_title: string | null;
2149
+ parent_img_url: string | null;
2150
+ };
2151
+ }
2152
+ interface WsReblogNotification extends BaseWsNotification {
2153
+ type: "reblog";
2154
+ extra: {
2155
+ permlink: string;
2156
+ title: string | null;
2157
+ img_url: string | null;
2158
+ };
2159
+ }
2160
+ interface WsTransferNotification extends BaseWsNotification {
2161
+ type: "transfer";
2162
+ extra: {
2163
+ amount: string;
2164
+ memo: string;
2165
+ };
2166
+ }
2167
+ interface WsDelegationsNotification extends BaseWsNotification {
2168
+ type: "delegations";
2169
+ extra: {
2170
+ amount: string;
2171
+ };
2172
+ }
2173
+ interface WsSpinNotification extends BaseWsNotification {
2174
+ type: "spin";
2175
+ }
2176
+ interface WsInactiveNotification extends BaseWsNotification {
2177
+ type: "inactive";
2178
+ }
2179
+ interface WsReferralNotification extends BaseWsNotification {
2180
+ type: "referral";
2181
+ }
2182
+ type WsNotification = WsVoteNotification | WsMentionNotification | WsFavoriteNotification | WsBookmarkNotification | WsFollowNotification | WsReplyNotification | WsReblogNotification | WsTransferNotification | WsSpinNotification | WsInactiveNotification | WsReferralNotification | WsDelegationsNotification;
2183
+ interface BaseAPiNotification {
2184
+ id: string;
2185
+ source: string;
2186
+ read: 0 | 1;
2187
+ timestamp: string;
2188
+ ts: number;
2189
+ gk: string;
2190
+ gkf: boolean;
2191
+ }
2192
+ interface ApiVoteNotification extends BaseAPiNotification {
2193
+ type: "vote" | "unvote";
2194
+ voter: string;
2195
+ weight: number;
2196
+ author: string;
2197
+ permlink: string;
2198
+ title: string | null;
2199
+ img_url: string | null;
2200
+ }
2201
+ interface ApiMentionNotification extends BaseAPiNotification {
2202
+ type: "mention";
2203
+ author: string;
2204
+ account: string;
2205
+ permlink: string;
2206
+ post: boolean;
2207
+ title: string | null;
2208
+ img_url: string | null;
2209
+ deck?: boolean;
2210
+ }
2211
+ interface ApiFollowNotification extends BaseAPiNotification {
2212
+ type: "follow" | "unfollow" | "ignore";
2213
+ follower: string;
2214
+ following: string;
2215
+ blog: boolean;
2216
+ }
2217
+ interface ApiReblogNotification extends BaseAPiNotification {
2218
+ type: "reblog";
2219
+ account: string;
2220
+ author: string;
2221
+ permlink: string;
2222
+ title: string | null;
2223
+ img_url: string | null;
2224
+ }
2225
+ interface ApiReplyNotification extends BaseAPiNotification {
2226
+ type: "reply";
2227
+ author: string;
2228
+ permlink: string;
2229
+ title: string;
2230
+ body: string;
2231
+ json_metadata: string;
2232
+ metadata: any;
2233
+ parent_author: string;
2234
+ parent_permlink: string;
2235
+ parent_title: string | null;
2236
+ parent_img_url: string | null;
2237
+ }
2238
+ interface ApiTransferNotification extends BaseAPiNotification {
2239
+ type: "transfer";
2240
+ to: string;
2241
+ amount: string;
2242
+ memo: string | null;
2243
+ }
2244
+ interface ApiFavoriteNotification extends BaseAPiNotification {
2245
+ type: "favorites";
2246
+ author: string;
2247
+ account: string;
2248
+ permlink: string;
2249
+ post: boolean;
2250
+ title: string | null;
2251
+ }
2252
+ interface ApiBookmarkNotification extends BaseAPiNotification {
2253
+ type: "bookmarks";
2254
+ author: string;
2255
+ account: string;
2256
+ permlink: string;
2257
+ post: boolean;
2258
+ title: string | null;
2259
+ }
2260
+ interface ApiSpinNotification extends BaseAPiNotification {
2261
+ type: "spin";
2262
+ }
2263
+ interface ApiInactiveNotification extends BaseAPiNotification {
2264
+ type: "inactive";
2265
+ }
2266
+ interface ApiReferralNotification extends BaseAPiNotification {
2267
+ type: "referral";
2268
+ }
2269
+ interface ApiDelegationsNotification extends BaseAPiNotification {
2270
+ type: "delegations";
2271
+ to: string;
2272
+ amount: string;
2273
+ }
2274
+ interface ApiNotificationSetting {
2275
+ system: string;
2276
+ allows_notify: number;
2277
+ notify_types: number[] | null;
2278
+ status: number;
2279
+ }
2280
+ type ApiNotification = ApiVoteNotification | ApiMentionNotification | ApiFavoriteNotification | ApiBookmarkNotification | ApiFollowNotification | ApiReblogNotification | ApiReplyNotification | ApiTransferNotification | ApiSpinNotification | ApiInactiveNotification | ApiReferralNotification | ApiDelegationsNotification;
2281
+ interface Notifications {
2282
+ filter: NotificationFilter | null;
2283
+ unread: number;
2284
+ list: ApiNotification[];
2285
+ loading: boolean;
2286
+ hasMore: boolean;
2287
+ unreadFetchFlag: boolean;
2288
+ settings?: ApiNotificationSetting;
2289
+ fbSupport: "pending" | "granted" | "denied";
2290
+ }
2291
+
2292
+ interface Announcement {
2293
+ id: number;
2294
+ title: string;
2295
+ description: string;
2296
+ button_text: string;
2297
+ button_link: string;
2298
+ path: string | Array<string>;
2299
+ auth: boolean;
2300
+ }
2301
+
2302
+ declare function getNotificationsInfiniteQueryOptions(activeUsername: string | undefined, filter?: NotificationFilter | undefined): _tanstack_react_query.UseInfiniteQueryOptions<ApiNotification[], Error, _tanstack_react_query.InfiniteData<ApiNotification[], unknown>, (string | undefined)[], string> & {
2303
+ initialData: _tanstack_react_query.InfiniteData<ApiNotification[], string> | (() => _tanstack_react_query.InfiniteData<ApiNotification[], string>) | undefined;
2304
+ } & {
2305
+ queryKey: (string | undefined)[] & {
2306
+ [dataTagSymbol]: _tanstack_react_query.InfiniteData<ApiNotification[], unknown>;
2307
+ [dataTagErrorSymbol]: Error;
2308
+ };
2309
+ };
2310
+
2311
+ declare function getNotificationsSettingsQueryOptions(activeUsername: string | undefined): Omit<_tanstack_react_query.UseQueryOptions<ApiNotificationSetting, Error, ApiNotificationSetting, (string | undefined)[]>, "queryFn"> & {
2312
+ initialData: ApiNotificationSetting | (() => ApiNotificationSetting);
2313
+ queryFn?: _tanstack_react_query.QueryFunction<ApiNotificationSetting, (string | undefined)[]> | undefined;
2314
+ } & {
2315
+ queryKey: (string | undefined)[] & {
2316
+ [dataTagSymbol]: ApiNotificationSetting;
2317
+ [dataTagErrorSymbol]: Error;
2318
+ };
2319
+ };
2320
+
2321
+ declare function getAnnouncementsQueryOptions(): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<Announcement[], Error, Announcement[], string[]>, "queryFn"> & {
2322
+ queryFn?: _tanstack_react_query.QueryFunction<Announcement[], string[], never> | undefined;
2323
+ } & {
2324
+ queryKey: string[] & {
2325
+ [dataTagSymbol]: Announcement[];
2326
+ [dataTagErrorSymbol]: Error;
2327
+ };
2328
+ };
2329
+
2330
+ interface Proposal {
2331
+ creator: string;
2332
+ daily_pay: {
2333
+ amount: string;
2334
+ nai: string;
2335
+ precision: number;
2336
+ };
2337
+ end_date: string;
2338
+ id: number;
2339
+ permlink: string;
2340
+ proposal_id: number;
2341
+ receiver: string;
2342
+ start_date: string;
2343
+ status: string;
2344
+ subject: string;
2345
+ total_votes: string;
2346
+ }
2347
+
2348
+ interface ProposalVote {
2349
+ id: number;
2350
+ proposal?: Proposal;
2351
+ voter: string;
2352
+ }
2353
+
2354
+ /**
2355
+ * Get a single proposal by ID
2356
+ */
2357
+ declare function getProposalQueryOptions(id: number): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<Proposal, Error, Proposal, (string | number)[]>, "queryFn"> & {
2358
+ queryFn?: _tanstack_react_query.QueryFunction<Proposal, (string | number)[], never> | undefined;
2359
+ } & {
2360
+ queryKey: (string | number)[] & {
2361
+ [dataTagSymbol]: Proposal;
2362
+ [dataTagErrorSymbol]: Error;
2363
+ };
2364
+ };
2365
+
2366
+ /**
2367
+ * Get all proposals, sorted with expired proposals at the end
2368
+ */
2369
+ declare function getProposalsQueryOptions(): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<Proposal[], Error, Proposal[], string[]>, "queryFn"> & {
2370
+ queryFn?: _tanstack_react_query.QueryFunction<Proposal[], string[], never> | undefined;
2371
+ } & {
2372
+ queryKey: string[] & {
2373
+ [dataTagSymbol]: Proposal[];
2374
+ [dataTagErrorSymbol]: Error;
2375
+ };
2376
+ };
2377
+
2378
+ type ProposalVoteRow = {
2379
+ id: number;
2380
+ voter: string;
2381
+ voterAccount: FullAccount;
2382
+ };
2383
+ /**
2384
+ * Get proposal votes with pagination and enriched voter account data
2385
+ *
2386
+ * @param proposalId - The proposal ID
2387
+ * @param voter - Starting voter for pagination
2388
+ * @param limit - Number of votes per page
2389
+ */
2390
+ declare function getProposalVotesInfiniteQueryOptions(proposalId: number, voter: string, limit: number): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseInfiniteQueryOptions<ProposalVoteRow[], Error, ProposalVoteRow[], (string | number)[], string>, "queryFn"> & {
2391
+ queryFn?: _tanstack_react_query.QueryFunction<ProposalVoteRow[], (string | number)[], string> | undefined;
2392
+ } & {
2393
+ queryKey: (string | number)[] & {
2394
+ [dataTagSymbol]: _tanstack_react_query.InfiniteData<ProposalVoteRow[], unknown>;
2395
+ [dataTagErrorSymbol]: Error;
2396
+ };
2397
+ };
2398
+
2399
+ /**
2400
+ * Fetches ALL proposal votes for a specific user in a single query.
2401
+ * Much more efficient than querying each proposal individually.
2402
+ * Uses "by_voter_proposal" order to get all votes by a user.
2403
+ */
2404
+ declare function getUserProposalVotesQueryOptions(voter: string): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ProposalVote[], Error, ProposalVote[], string[]>, "queryFn"> & {
2405
+ queryFn?: _tanstack_react_query.QueryFunction<ProposalVote[], string[], never> | undefined;
2406
+ } & {
2407
+ queryKey: string[] & {
2408
+ [dataTagSymbol]: ProposalVote[];
2409
+ [dataTagErrorSymbol]: Error;
2410
+ };
2411
+ };
2412
+
2413
+ interface DelegatedVestingShare {
2414
+ id: number;
2415
+ delegatee: string;
2416
+ delegator: string;
2417
+ min_delegation_time: string;
2418
+ vesting_shares: string;
2419
+ }
2420
+
2421
+ interface ConversionRequest {
2422
+ amount: string;
2423
+ conversion_date: string;
2424
+ id: number;
2425
+ owner: string;
2426
+ requestid: number;
2427
+ }
2428
+ interface CollateralizedConversionRequest {
2429
+ collateral_amount: string;
2430
+ conversion_date: string;
2431
+ converted_amount: string;
2432
+ id: number;
2433
+ owner: string;
2434
+ requestid: number;
2435
+ }
2436
+
2437
+ interface SavingsWithdrawRequest {
2438
+ id: number;
2439
+ from: string;
2440
+ to: string;
2441
+ memo: string;
2442
+ request_id: number;
2443
+ amount: string;
2444
+ complete: string;
2445
+ }
2446
+
2447
+ interface WithdrawRoute {
2448
+ auto_vest: boolean;
2449
+ from_account: string;
2450
+ id: number;
2451
+ percent: number;
2452
+ to_account: string;
2453
+ }
2454
+
2455
+ interface OpenOrdersData {
2456
+ id: number;
2457
+ created: string;
2458
+ expiration: string;
2459
+ seller: string;
2460
+ orderid: number;
2461
+ for_sale: number;
2462
+ sell_price: {
2463
+ base: string;
2464
+ quote: string;
2465
+ };
2466
+ real_price: string;
2467
+ rewarded: boolean;
2468
+ }
2469
+
2470
+ interface RcDirectDelegation {
2471
+ from: string;
2472
+ to: string;
2473
+ delegated_rc: string;
2474
+ }
2475
+ interface RcDirectDelegationsResponse {
2476
+ rc_direct_delegations: RcDirectDelegation[];
2477
+ next_start?: [string, string] | null;
2478
+ }
2479
+
2480
+ interface ReceivedVestingShare {
2481
+ delegatee: string;
2482
+ delegator: string;
2483
+ timestamp: string;
2484
+ vesting_shares: string;
2485
+ }
2486
+
2487
+ /**
2488
+ * Get vesting delegations for an account
2489
+ *
2490
+ * @param username - The account username
2491
+ * @param from - Pagination start point (delegatee name)
2492
+ * @param limit - Maximum number of results (default: 50)
2493
+ */
2494
+ declare function getVestingDelegationsQueryOptions(username?: string, from?: string, limit?: number): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<DelegatedVestingShare[], Error, DelegatedVestingShare[], (string | number | undefined)[]>, "queryFn"> & {
2495
+ queryFn?: _tanstack_react_query.QueryFunction<DelegatedVestingShare[], (string | number | undefined)[], never> | undefined;
2496
+ } & {
2497
+ queryKey: (string | number | undefined)[] & {
2498
+ [dataTagSymbol]: DelegatedVestingShare[];
2499
+ [dataTagErrorSymbol]: Error;
2500
+ };
2501
+ };
2502
+
2503
+ /**
2504
+ * Get HBD to HIVE conversion requests for an account
2505
+ *
2506
+ * @param account - The account username
2507
+ */
2508
+ declare function getConversionRequestsQueryOptions(account: string): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ConversionRequest[], Error, ConversionRequest[], string[]>, "queryFn"> & {
2509
+ queryFn?: _tanstack_react_query.QueryFunction<ConversionRequest[], string[], never> | undefined;
2510
+ } & {
2511
+ queryKey: string[] & {
2512
+ [dataTagSymbol]: ConversionRequest[];
2513
+ [dataTagErrorSymbol]: Error;
2514
+ };
2515
+ };
2516
+
2517
+ /**
2518
+ * Get collateralized HIVE to HBD conversion requests for an account
2519
+ *
2520
+ * @param account - The account username
2521
+ */
2522
+ declare function getCollateralizedConversionRequestsQueryOptions(account: string): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<CollateralizedConversionRequest[], Error, CollateralizedConversionRequest[], string[]>, "queryFn"> & {
2523
+ queryFn?: _tanstack_react_query.QueryFunction<CollateralizedConversionRequest[], string[], never> | undefined;
2524
+ } & {
2525
+ queryKey: string[] & {
2526
+ [dataTagSymbol]: CollateralizedConversionRequest[];
2527
+ [dataTagErrorSymbol]: Error;
2528
+ };
2529
+ };
2530
+
2531
+ /**
2532
+ * Get pending savings withdrawal requests for an account
2533
+ *
2534
+ * @param account - The account username
2535
+ */
2536
+ declare function getSavingsWithdrawFromQueryOptions(account: string): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<SavingsWithdrawRequest[], Error, SavingsWithdrawRequest[], string[]>, "queryFn"> & {
2537
+ queryFn?: _tanstack_react_query.QueryFunction<SavingsWithdrawRequest[], string[], never> | undefined;
2538
+ } & {
2539
+ queryKey: string[] & {
2540
+ [dataTagSymbol]: SavingsWithdrawRequest[];
2541
+ [dataTagErrorSymbol]: Error;
2542
+ };
2543
+ };
2544
+
2545
+ /**
2546
+ * Get power down (vesting withdrawal) routes for an account
2547
+ *
2548
+ * @param account - The account username
2549
+ */
2550
+ declare function getWithdrawRoutesQueryOptions(account: string): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<WithdrawRoute[], Error, WithdrawRoute[], string[]>, "queryFn"> & {
2551
+ queryFn?: _tanstack_react_query.QueryFunction<WithdrawRoute[], string[], never> | undefined;
2552
+ } & {
2553
+ queryKey: string[] & {
2554
+ [dataTagSymbol]: WithdrawRoute[];
2555
+ [dataTagErrorSymbol]: Error;
2556
+ };
2557
+ };
2558
+
2559
+ /**
2560
+ * Get open market orders for an account
2561
+ *
2562
+ * @param user - The account username
2563
+ */
2564
+ declare function getOpenOrdersQueryOptions(user: string): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<OpenOrdersData[], Error, OpenOrdersData[], string[]>, "queryFn"> & {
2565
+ queryFn?: _tanstack_react_query.QueryFunction<OpenOrdersData[], string[], never> | undefined;
2566
+ } & {
2567
+ queryKey: string[] & {
2568
+ [dataTagSymbol]: OpenOrdersData[];
2569
+ [dataTagErrorSymbol]: Error;
2570
+ };
2571
+ };
2572
+
2573
+ type RcPage = RcDirectDelegation[];
2574
+ type RcCursor = string | null;
2575
+ /**
2576
+ * Get outgoing RC delegations for an account
2577
+ *
2578
+ * @param username - Account name to get delegations for
2579
+ * @param limit - Number of delegations per page
2580
+ */
2581
+ declare function getOutgoingRcDelegationsInfiniteQueryOptions(username: string, limit?: number): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseInfiniteQueryOptions<RcPage, Error, RcPage, (string | number)[], RcCursor>, "queryFn"> & {
2582
+ queryFn?: _tanstack_react_query.QueryFunction<RcPage, (string | number)[], RcCursor> | undefined;
2583
+ } & {
2584
+ queryKey: (string | number)[] & {
2585
+ [dataTagSymbol]: _tanstack_react_query.InfiniteData<RcPage, unknown>;
2586
+ [dataTagErrorSymbol]: Error;
2587
+ };
2588
+ };
2589
+
2590
+ declare function getReceivedVestingSharesQueryOptions(username: string): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ReceivedVestingShare[], Error, ReceivedVestingShare[], string[]>, "queryFn"> & {
2591
+ queryFn?: _tanstack_react_query.QueryFunction<ReceivedVestingShare[], string[], never> | undefined;
2592
+ } & {
2593
+ queryKey: string[] & {
2594
+ [dataTagSymbol]: ReceivedVestingShare[];
2595
+ [dataTagErrorSymbol]: Error;
2596
+ };
2597
+ };
2598
+
2599
+ interface Witness {
2600
+ total_missed: number;
2601
+ url: string;
2602
+ props: {
2603
+ account_creation_fee: string;
2604
+ account_subsidy_budget: number;
2605
+ maximum_block_size: number;
2606
+ };
2607
+ hbd_exchange_rate: {
2608
+ base: string;
2609
+ };
2610
+ available_witness_account_subsidies: number;
2611
+ running_version: string;
2612
+ owner: string;
2613
+ signing_key: string;
2614
+ last_hbd_exchange_update: string;
2615
+ }
2616
+
2617
+ type WitnessPage = Witness[];
2618
+ /**
2619
+ * Get witnesses ordered by vote count (infinite scroll)
2620
+ *
2621
+ * @param limit - Number of witnesses per page
2622
+ */
2623
+ declare function getWitnessesInfiniteQueryOptions(limit: number): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseInfiniteQueryOptions<WitnessPage, Error, WitnessPage, (string | number)[], string>, "queryFn"> & {
2624
+ queryFn?: _tanstack_react_query.QueryFunction<WitnessPage, (string | number)[], string> | undefined;
2625
+ } & {
2626
+ queryKey: (string | number)[] & {
2627
+ [dataTagSymbol]: _tanstack_react_query.InfiniteData<WitnessPage, unknown>;
2628
+ [dataTagErrorSymbol]: Error;
2629
+ };
2630
+ };
2631
+
2632
+ interface OrdersDataItem {
2633
+ created: string;
2634
+ hbd: number;
2635
+ hive: number;
2636
+ order_price: {
2637
+ base: string;
2638
+ quote: string;
2639
+ };
2640
+ real_price: string;
2641
+ }
2642
+
2643
+ interface OrdersData {
2644
+ bids: OrdersDataItem[];
2645
+ asks: OrdersDataItem[];
2646
+ trading: OrdersDataItem[];
2647
+ }
2648
+
2649
+ interface MarketStatistics {
2650
+ hbd_volume: string;
2651
+ highest_bid: string;
2652
+ hive_volume: string;
2653
+ latest: string;
2654
+ lowest_ask: string;
2655
+ percent_change: string;
2656
+ }
2657
+
2658
+ interface MarketCandlestickDataItem {
2659
+ hive: {
2660
+ high: number;
2661
+ low: number;
2662
+ open: number;
2663
+ close: number;
2664
+ volume: number;
2665
+ };
2666
+ id: number;
2667
+ non_hive: {
2668
+ high: number;
2669
+ low: number;
2670
+ open: number;
2671
+ close: number;
2672
+ volume: number;
2673
+ };
2674
+ open: string;
2675
+ seconds: number;
2676
+ }
2677
+
2678
+ interface MarketData {
2679
+ prices?: [number, number][];
2680
+ }
2681
+
2682
+ interface HiveHbdStats {
2683
+ price: number;
2684
+ close: number;
2685
+ high: number;
2686
+ low: number;
2687
+ percent: number;
2688
+ totalFromAsset: string;
2689
+ totalToAsset: string;
2690
+ }
2691
+
2692
+ /**
2693
+ * Get the internal HIVE/HBD market order book
2694
+ *
2695
+ * @param limit - Maximum number of orders to fetch (default: 500)
2696
+ */
2697
+ declare function getOrderBookQueryOptions(limit?: number): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<OrdersData, Error, OrdersData, (string | number)[]>, "queryFn"> & {
2698
+ queryFn?: _tanstack_react_query.QueryFunction<OrdersData, (string | number)[], never> | undefined;
2699
+ } & {
2700
+ queryKey: (string | number)[] & {
2701
+ [dataTagSymbol]: OrdersData;
2702
+ [dataTagErrorSymbol]: Error;
2703
+ };
2704
+ };
2705
+
2706
+ /**
2707
+ * Get HIVE/HBD market statistics from the blockchain
2708
+ */
2709
+ declare function getMarketStatisticsQueryOptions(): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<MarketStatistics, Error, MarketStatistics, string[]>, "queryFn"> & {
2710
+ queryFn?: _tanstack_react_query.QueryFunction<MarketStatistics, string[], never> | undefined;
2711
+ } & {
2712
+ queryKey: string[] & {
2713
+ [dataTagSymbol]: MarketStatistics;
2714
+ [dataTagErrorSymbol]: Error;
2715
+ };
2716
+ };
2717
+
2718
+ /**
2719
+ * Get HIVE/HBD market history (candlestick data)
2720
+ *
2721
+ * @param seconds - Bucket size in seconds
2722
+ * @param startDate - Start date for the data
2723
+ * @param endDate - End date for the data
2724
+ */
2725
+ declare function getMarketHistoryQueryOptions(seconds: number, startDate: Date, endDate: Date): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<MarketCandlestickDataItem[], Error, MarketCandlestickDataItem[], (string | number)[]>, "queryFn"> & {
2726
+ queryFn?: _tanstack_react_query.QueryFunction<MarketCandlestickDataItem[], (string | number)[], never> | undefined;
2727
+ } & {
2728
+ queryKey: (string | number)[] & {
2729
+ [dataTagSymbol]: MarketCandlestickDataItem[];
2730
+ [dataTagErrorSymbol]: Error;
2731
+ };
2732
+ };
2733
+
2734
+ /**
2735
+ * Get combined HIVE/HBD statistics including price, 24h change, and volume
2736
+ */
2737
+ declare function getHiveHbdStatsQueryOptions(): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<HiveHbdStats, Error, HiveHbdStats, string[]>, "queryFn"> & {
2738
+ queryFn?: _tanstack_react_query.QueryFunction<HiveHbdStats, string[], never> | undefined;
2739
+ } & {
2740
+ queryKey: string[] & {
2741
+ [dataTagSymbol]: HiveHbdStats;
2742
+ [dataTagErrorSymbol]: Error;
2743
+ };
2744
+ };
2745
+
2746
+ /**
2747
+ * Get market chart data from CoinGecko API
2748
+ *
2749
+ * @param coin - Coin ID (e.g., "hive", "bitcoin")
2750
+ * @param vsCurrency - Currency to compare against (e.g., "usd", "eur")
2751
+ * @param fromTs - From timestamp (Unix timestamp in seconds)
2752
+ * @param toTs - To timestamp (Unix timestamp in seconds)
2753
+ */
2754
+ declare function getMarketDataQueryOptions(coin: string, vsCurrency: string, fromTs: string, toTs: string): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<MarketData, Error, MarketData, string[]>, "queryFn"> & {
2755
+ queryFn?: _tanstack_react_query.QueryFunction<MarketData, string[], never> | undefined;
2756
+ } & {
2757
+ queryKey: string[] & {
2758
+ [dataTagSymbol]: MarketData;
2759
+ [dataTagErrorSymbol]: Error;
2760
+ };
2761
+ };
2762
+
2763
+ interface PointTransaction {
2764
+ id: number;
2765
+ type: number;
2766
+ created: string;
2767
+ memo: string | null;
2768
+ amount: string;
2769
+ sender: string | null;
2770
+ receiver: string | null;
2771
+ }
2772
+ interface Points {
2773
+ points: string;
2774
+ uPoints: string;
2775
+ transactions: PointTransaction[];
2776
+ }
2777
+
2778
+ declare function getPointsQueryOptions(username?: string, filter?: number): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<{
2779
+ readonly points: string;
2780
+ readonly uPoints: string;
2781
+ readonly transactions: PointTransaction[];
2782
+ }, Error, {
2783
+ readonly points: string;
2784
+ readonly uPoints: string;
2785
+ readonly transactions: PointTransaction[];
2786
+ }, (string | number | undefined)[]>, "queryFn"> & {
2787
+ queryFn?: _tanstack_react_query.QueryFunction<{
2788
+ readonly points: string;
2789
+ readonly uPoints: string;
2790
+ readonly transactions: PointTransaction[];
2791
+ }, (string | number | undefined)[], never> | undefined;
2792
+ } & {
2793
+ queryKey: (string | number | undefined)[] & {
2794
+ [dataTagSymbol]: {
2795
+ readonly points: string;
2796
+ readonly uPoints: string;
2797
+ readonly transactions: PointTransaction[];
2798
+ };
2799
+ [dataTagErrorSymbol]: Error;
2800
+ };
2801
+ };
2802
+
2803
+ interface SearchResult {
2804
+ id: number;
2805
+ title: string;
2806
+ body: string;
2807
+ category: string;
2808
+ author: string;
2809
+ permlink: string;
2810
+ author_rep: number;
2811
+ total_payout: number;
2812
+ img_url: string;
2813
+ created_at: string;
2814
+ children: number;
2815
+ tags: string[];
2816
+ app: string;
2817
+ depth: number;
2818
+ }
2819
+ interface SearchResponse {
2820
+ hits: number;
2821
+ took: number;
2822
+ scroll_id?: string;
2823
+ results: SearchResult[];
2824
+ }
2825
+
2826
+ interface AccountSearchResult {
2827
+ name: string;
2828
+ full_name: string;
2829
+ about: string;
2830
+ reputation: number;
2831
+ }
2832
+
2833
+ interface TagSearchResult {
2834
+ tag: string;
2835
+ repeat: number;
2836
+ }
2837
+
2838
+ declare function searchQueryOptions(q: string, sort: string, hideLow: string, since?: string, scroll_id?: string, votes?: number): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<SearchResponse, Error, SearchResponse, (string | number | undefined)[]>, "queryFn"> & {
2839
+ queryFn?: _tanstack_react_query.QueryFunction<SearchResponse, (string | number | undefined)[], never> | undefined;
2840
+ } & {
2841
+ queryKey: (string | number | undefined)[] & {
2842
+ [dataTagSymbol]: SearchResponse;
2843
+ [dataTagErrorSymbol]: Error;
2844
+ };
2845
+ };
2846
+ type PageParam = {
2847
+ sid: string | undefined;
2848
+ hasNextPage: boolean;
2849
+ };
2850
+ declare function getControversialRisingInfiniteQueryOptions(what: string, tag: string, enabled?: boolean): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseInfiniteQueryOptions<SearchResponse, Error, SearchResponse, (string | number)[], PageParam>, "queryFn"> & {
2851
+ queryFn?: _tanstack_react_query.QueryFunction<SearchResponse, (string | number)[], PageParam> | undefined;
2852
+ } & {
2853
+ queryKey: (string | number)[] & {
2854
+ [dataTagSymbol]: _tanstack_react_query.InfiniteData<SearchResponse, unknown>;
2855
+ [dataTagErrorSymbol]: Error;
2856
+ };
2857
+ };
2858
+
2859
+ interface Entry {
2860
+ author: string;
2861
+ permlink: string;
2862
+ json_metadata?: {
2863
+ tags?: string[];
2864
+ };
2865
+ }
2866
+ declare function getSimilarEntriesQueryOptions(entry: Entry): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<SearchResult[], Error, SearchResult[], string[]>, "queryFn"> & {
2867
+ queryFn?: _tanstack_react_query.QueryFunction<SearchResult[], string[], never> | undefined;
2868
+ } & {
2869
+ queryKey: string[] & {
2870
+ [dataTagSymbol]: SearchResult[];
2871
+ [dataTagErrorSymbol]: Error;
2872
+ };
2873
+ };
2874
+
2875
+ declare function getSearchAccountQueryOptions(q: string, limit?: number, random?: boolean): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<AccountSearchResult[], Error, AccountSearchResult[], (string | number)[]>, "queryFn"> & {
2876
+ queryFn?: _tanstack_react_query.QueryFunction<AccountSearchResult[], (string | number)[], never> | undefined;
2877
+ } & {
2878
+ queryKey: (string | number)[] & {
2879
+ [dataTagSymbol]: AccountSearchResult[];
2880
+ [dataTagErrorSymbol]: Error;
2881
+ };
2882
+ };
2883
+
2884
+ declare function getSearchTopicsQueryOptions(q: string, limit?: number, random?: boolean): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<TagSearchResult[], Error, TagSearchResult[], string[]>, "queryFn"> & {
2885
+ queryFn?: _tanstack_react_query.QueryFunction<TagSearchResult[], string[], never> | undefined;
2886
+ } & {
2887
+ queryKey: string[] & {
2888
+ [dataTagSymbol]: TagSearchResult[];
2889
+ [dataTagErrorSymbol]: Error;
2890
+ };
2891
+ };
2892
+
2893
+ declare function getSearchApiInfiniteQueryOptions(q: string, sort: string, hideLow: boolean, since?: string, votes?: number): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseInfiniteQueryOptions<SearchResponse, Error, _tanstack_react_query.InfiniteData<SearchResponse, unknown>, (string | number | boolean | undefined)[], string | undefined>, "queryFn"> & {
2894
+ queryFn?: _tanstack_react_query.QueryFunction<SearchResponse, (string | number | boolean | undefined)[], string | undefined> | undefined;
2895
+ } & {
2896
+ queryKey: (string | number | boolean | undefined)[] & {
2897
+ [dataTagSymbol]: _tanstack_react_query.InfiniteData<SearchResponse, unknown>;
2898
+ [dataTagErrorSymbol]: Error;
2899
+ };
2900
+ };
2901
+
2902
+ declare function getSearchPathQueryOptions(q: string): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<string[], Error, string[], string[]>, "queryFn"> & {
2903
+ queryFn?: _tanstack_react_query.QueryFunction<string[], string[], never> | undefined;
2904
+ } & {
2905
+ queryKey: string[] & {
2906
+ [dataTagSymbol]: string[];
2907
+ [dataTagErrorSymbol]: Error;
2908
+ };
2909
+ };
2910
+
2911
+ interface PromotePrice {
2912
+ duration: number;
2913
+ price: number;
2914
+ }
2915
+
2916
+ declare function getBoostPlusPricesQueryOptions(accessToken: string): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<PromotePrice[], Error, PromotePrice[], string[]>, "queryFn"> & {
2917
+ queryFn?: _tanstack_react_query.QueryFunction<PromotePrice[], string[], never> | undefined;
2918
+ } & {
2919
+ queryKey: string[] & {
2920
+ [dataTagSymbol]: PromotePrice[];
2921
+ [dataTagErrorSymbol]: Error;
2922
+ };
2923
+ };
2924
+
2925
+ declare function getPromotePriceQueryOptions(accessToken: string): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<PromotePrice[], Error, PromotePrice[], string[]>, "queryFn"> & {
2926
+ queryFn?: _tanstack_react_query.QueryFunction<PromotePrice[], string[], never> | undefined;
2927
+ } & {
2928
+ queryKey: string[] & {
2929
+ [dataTagSymbol]: PromotePrice[];
2930
+ [dataTagErrorSymbol]: Error;
2931
+ };
2932
+ };
2933
+
2934
+ interface BoostPlusAccountPrice {
2935
+ account: string;
2936
+ expires: Date;
2937
+ }
2938
+ declare function getBoostPlusAccountPricesQueryOptions(account: string, accessToken: string): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<BoostPlusAccountPrice | null, Error, BoostPlusAccountPrice | null, string[]>, "queryFn"> & {
2939
+ queryFn?: _tanstack_react_query.QueryFunction<BoostPlusAccountPrice | null, string[], never> | undefined;
2940
+ } & {
2941
+ queryKey: string[] & {
2942
+ [dataTagSymbol]: BoostPlusAccountPrice | null;
2943
+ [dataTagErrorSymbol]: Error;
2944
+ };
2945
+ };
2946
+
2947
+ export { ACCOUNT_OPERATION_GROUPS, ALL_ACCOUNT_OPERATIONS, ALL_NOTIFY_TYPES, type AccountBookmark, type AccountFavorite, type AccountFollowStats, type AccountNotification, type AccountProfile, type AccountRelationship, type AccountReputation, type AccountSearchResult, type Announcement, type ApiBookmarkNotification, type ApiDelegationsNotification, type ApiFavoriteNotification, type ApiFollowNotification, type ApiInactiveNotification, type ApiMentionNotification, type ApiNotification, type ApiNotificationSetting, type ApiReblogNotification, type ApiReferralNotification, type ApiReplyNotification, type ApiSpinNotification, type ApiTransferNotification, type ApiVoteNotification, type Asset, type AuthorReward, type BlogEntry, type BoostPlusAccountPrice, type BuildProfileMetadataArgs, CONFIG, type CancelTransferFromSavings, type CantAfford, type CheckUsernameWalletsPendingResponse, type ClaimRewardBalance, type CollateralizedConversionRequest, type CollateralizedConvert, type CommentBenefactor, type CommentPayoutUpdate, type CommentReward, type Communities, type Community, type CommunityRole, type CommunityTeam, type CommunityType, ConfigManager, type ConversionRequest, type CurationDuration, type CurationItem, type CurationReward, type DelegateVestingShares, type DelegatedVestingShare, type DeletedEntry, type DynamicProps, index as EcencyAnalytics, EcencyQueriesManager, type EffectiveCommentVote, type Entry$1 as Entry, type EntryBeneficiaryRoute, type EntryHeader, type EntryStat, type EntryVote, type FillCollateralizedConvertRequest, type FillConvertRequest, type FillOrder, type FillRecurrentTransfers, type FillVestingWithdraw, type Follow, type Fragment, type FriendSearchResult, type FriendsPageParam, type FriendsRow, type FullAccount, type GameClaim, type GetGameStatus, type GetRecoveriesEmailResponse, type HiveHbdStats, HiveSignerIntegration, type Interest, type JsonMetadata, type JsonPollMetadata, keychain as Keychain, type Keys, type LeaderBoardDuration, type LeaderBoardItem, type LimitOrderCancel, type LimitOrderCreate, type MarketCandlestickDataItem, type MarketData, type MarketStatistics, NaiMap, NotificationFilter, NotificationViewType, type Notifications, NotifyTypes, type OpenOrdersData, type OperationGroup, type OrdersData, type OrdersDataItem, type PageStatsResponse, type Payer, type PointTransaction, type Points, type PostTip, type PostTipsResponse, type ProducerReward, type Profile, type ProfileTokens, type PromotePrice, type Proposal, type ProposalPay, type ProposalVote, type ProposalVoteRow, ROLES, type RcDirectDelegation, type RcDirectDelegationsResponse, type RcStats, type Reblog, type ReceivedVestingShare, type Recoveries, type RecurrentTransfers, type ReferralItem, type ReferralItems, type ReferralStat, type ReturnVestingDelegation, type RewardedCommunity, type SavingsWithdrawRequest, type SearchResponse, type SearchResult, type SetWithdrawRoute, SortOrder, type StatsResponse, type StoringUser, type Subscription, Symbol, type TagSearchResult, type ThreadItemEntry, ThreeSpeakIntegration, type ThreeSpeakVideo, type Transaction, type Transfer, type TransferToSavings, type TransferToVesting, type TrendingTag, type UpdateProposalVotes, type Vote, type VoteHistoryPage, type VoteHistoryPageParam, type VoteProxy, type WalletMetadataCandidate, type WaveEntry, type WaveTrendingTag, type WithdrawRoute, type WithdrawVesting, type Witness, type WsBookmarkNotification, type WsDelegationsNotification, type WsFavoriteNotification, type WsFollowNotification, type WsInactiveNotification, type WsMentionNotification, type WsNotification, type WsReblogNotification, type WsReferralNotification, type WsReplyNotification, type WsSpinNotification, type WsTransferNotification, type WsVoteNotification, broadcastJson, buildProfileMetadata, checkUsernameWalletsPendingQueryOptions, decodeObj, dedupeAndSortKeyAuths, encodeObj, extractAccountProfile, getAccessToken, getAccountFullQueryOptions, getAccountNotificationsInfiniteQueryOptions, getAccountPendingRecoveryQueryOptions, getAccountPostsInfiniteQueryOptions, getAccountRcQueryOptions, getAccountRecoveriesQueryOptions, getAccountSubscriptionsQueryOptions, getAccountVoteHistoryInfiniteQueryOptions, getAccountsQueryOptions, getActiveAccountBookmarksQueryOptions, getActiveAccountFavouritesQueryOptions, getAnnouncementsQueryOptions, getBoostPlusAccountPricesQueryOptions, getBoostPlusPricesQueryOptions, getBotsQueryOptions, getBoundFetch, getChainPropertiesQueryOptions, getCollateralizedConversionRequestsQueryOptions, getCommentHistoryQueryOptions, getCommunitiesQueryOptions, getCommunityContextQueryOptions, getCommunityPermissions, getCommunitySubscribersQueryOptions, getCommunityType, getControversialRisingInfiniteQueryOptions, getConversionRequestsQueryOptions, getDeletedEntryQueryOptions, getDiscoverCurationQueryOptions, getDiscoverLeaderboardQueryOptions, getDiscussionsQueryOptions, getDraftsQueryOptions, getDynamicPropsQueryOptions, getEntryActiveVotesQueryOptions, getFollowCountQueryOptions, getFollowingQueryOptions, getFragmentsQueryOptions, getFriendsInfiniteQueryOptions, getGalleryImagesQueryOptions, getGameStatusCheckQueryOptions, getHiveHbdStatsQueryOptions, getHivePoshLinksQueryOptions, getImagesQueryOptions, getLoginType, getMarketDataQueryOptions, getMarketHistoryQueryOptions, getMarketStatisticsQueryOptions, getMutedUsersQueryOptions, getNotificationsInfiniteQueryOptions, getNotificationsSettingsQueryOptions, getNotificationsUnreadCountQueryOptions, getOpenOrdersQueryOptions, getOrderBookQueryOptions, getOutgoingRcDelegationsInfiniteQueryOptions, getPageStatsQueryOptions, getPointsQueryOptions, getPostHeaderQueryOptions, getPostQueryOptions, getPostTipsQueryOptions, getPostingKey, getPostsRankedInfiniteQueryOptions, getPromotePriceQueryOptions, getPromotedPostsQuery, getProposalQueryOptions, getProposalVotesInfiniteQueryOptions, getProposalsQueryOptions, getQueryClient, getRcStatsQueryOptions, getReblogsQueryOptions, getReceivedVestingSharesQueryOptions, getReferralsInfiniteQueryOptions, getReferralsStatsQueryOptions, getRefreshToken, getRelationshipBetweenAccountsQueryOptions, getRewardedCommunitiesQueryOptions, getSavingsWithdrawFromQueryOptions, getSchedulesQueryOptions, getSearchAccountQueryOptions, getSearchAccountsByUsernameQueryOptions, getSearchApiInfiniteQueryOptions, getSearchFriendsQueryOptions, getSearchPathQueryOptions, getSearchTopicsQueryOptions, getSimilarEntriesQueryOptions, getStatsQueryOptions, getTransactionsInfiniteQueryOptions, getTrendingTagsQueryOptions, getUser, getUserProposalVotesQueryOptions, getVestingDelegationsQueryOptions, getVisibleFirstLevelThreadItems, getWavesByHostQueryOptions, getWavesByTagQueryOptions, getWavesFollowingQueryOptions, getWavesTrendingTagsQueryOptions, getWithdrawRoutesQueryOptions, getWitnessesInfiniteQueryOptions, lookupAccountsQueryOptions, makeQueryClient, mapThreadItemsToWaveEntries, normalizeWaveEntryFromApi, parseAccounts, parseAsset, parseProfileMetadata, roleMap, searchQueryOptions, sortDiscussions, toEntryArray, useAccountFavouriteAdd, useAccountFavouriteDelete, useAccountRelationsUpdate, useAccountRevokeKey, useAccountRevokePosting, useAccountUpdate, useAccountUpdateKeyAuths, useAccountUpdatePassword, useAccountUpdateRecovery, useAddFragment, useBookmarkAdd, useBookmarkDelete, useBroadcastMutation, useEditFragment, useGameClaim, useRecordActivity, useRemoveFragment, useSignOperationByHivesigner, useSignOperationByKey, useSignOperationByKeychain };