@ecency/sdk 1.3.6 → 1.3.9

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,27 @@ 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 the private API host
1176
+ * @param host - The private API host URL (e.g., "https://ecency.com" or "" for relative URLs)
1177
+ */
1178
+ function setPrivateApiHost(host: string): void;
1179
+ /**
1180
+ * Set DMCA filtering lists
1181
+ * @param accounts - List of account usernames to filter (plain strings)
1182
+ * @param tags - List of tag patterns (regex strings) to filter
1183
+ * @param patterns - List of post patterns (plain strings) like "@author/permlink" for exact matching
1184
+ */
1185
+ function setDmcaLists(accounts?: string[], tags?: string[], patterns?: string[]): void;
550
1186
  }
551
1187
 
552
1188
  declare function makeQueryClient(): QueryClient;
@@ -630,21 +1266,6 @@ declare function getTrendingTagsQueryOptions(limit?: number): _tanstack_react_qu
630
1266
  };
631
1267
  };
632
1268
 
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
1269
  declare function getFragmentsQueryOptions(username: string): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<Fragment[], Error, Fragment[], string[]>, "queryFn"> & {
649
1270
  queryFn?: _tanstack_react_query.QueryFunction<Fragment[], string[], never> | undefined;
650
1271
  } & {
@@ -663,10 +1284,271 @@ declare function getPromotedPostsQuery<T extends any>(type?: "feed" | "waves"):
663
1284
  };
664
1285
  };
665
1286
 
666
- declare function useAddFragment(username: string): _tanstack_react_query.UseMutationResult<Fragment, Error, {
667
- title: string;
668
- body: string;
669
- }, unknown>;
1287
+ declare function getEntryActiveVotesQueryOptions(entry?: Entry$1): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<Vote[], Error, Vote[], (string | undefined)[]>, "queryFn"> & {
1288
+ queryFn?: _tanstack_react_query.QueryFunction<Vote[], (string | undefined)[], never> | undefined;
1289
+ } & {
1290
+ queryKey: (string | undefined)[] & {
1291
+ [dataTagSymbol]: Vote[];
1292
+ [dataTagErrorSymbol]: Error;
1293
+ };
1294
+ };
1295
+
1296
+ declare function getPostHeaderQueryOptions(author: string, permlink: string): Omit<_tanstack_react_query.UseQueryOptions<Entry$1 | null, Error, Entry$1 | null, string[]>, "queryFn"> & {
1297
+ initialData: Entry$1 | (() => Entry$1 | null) | null;
1298
+ queryFn?: _tanstack_react_query.QueryFunction<Entry$1 | null, string[]> | undefined;
1299
+ } & {
1300
+ queryKey: string[] & {
1301
+ [dataTagSymbol]: Entry$1 | null;
1302
+ [dataTagErrorSymbol]: Error;
1303
+ };
1304
+ };
1305
+
1306
+ 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"> & {
1307
+ queryFn?: _tanstack_react_query.QueryFunction<Entry$1 | null | undefined, string[], never> | undefined;
1308
+ } & {
1309
+ queryKey: string[] & {
1310
+ [dataTagSymbol]: Entry$1 | null | undefined;
1311
+ [dataTagErrorSymbol]: Error;
1312
+ };
1313
+ };
1314
+
1315
+ declare enum SortOrder {
1316
+ trending = "trending",
1317
+ author_reputation = "author_reputation",
1318
+ votes = "votes",
1319
+ created = "created"
1320
+ }
1321
+ declare function sortDiscussions(entry: Entry$1, discussion: Entry$1[], order: SortOrder): Entry$1[];
1322
+ 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"> & {
1323
+ queryFn?: _tanstack_react_query.QueryFunction<Entry$1[], string[], never> | undefined;
1324
+ } & {
1325
+ queryKey: string[] & {
1326
+ [dataTagSymbol]: Entry$1[];
1327
+ [dataTagErrorSymbol]: Error;
1328
+ };
1329
+ };
1330
+
1331
+ type PageParam$2 = {
1332
+ author: string | undefined;
1333
+ permlink: string | undefined;
1334
+ hasNextPage: boolean;
1335
+ };
1336
+ type Page = Entry$1[];
1337
+ 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"> & {
1338
+ queryFn?: _tanstack_react_query.QueryFunction<Page, (string | number)[], PageParam$2> | undefined;
1339
+ } & {
1340
+ queryKey: (string | number)[] & {
1341
+ [dataTagSymbol]: _tanstack_react_query.InfiniteData<Page, unknown>;
1342
+ [dataTagErrorSymbol]: Error;
1343
+ };
1344
+ };
1345
+
1346
+ type PageParam$1 = {
1347
+ author: string | undefined;
1348
+ permlink: string | undefined;
1349
+ hasNextPage: boolean;
1350
+ };
1351
+ interface GetPostsRankedOptions {
1352
+ resolvePosts?: boolean;
1353
+ }
1354
+ 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"> & {
1355
+ queryFn?: _tanstack_react_query.QueryFunction<Entry$1[], (string | number)[], PageParam$1> | undefined;
1356
+ } & {
1357
+ queryKey: (string | number)[] & {
1358
+ [dataTagSymbol]: _tanstack_react_query.InfiniteData<Entry$1[], unknown>;
1359
+ [dataTagErrorSymbol]: Error;
1360
+ };
1361
+ };
1362
+
1363
+ interface BlogEntry {
1364
+ author: string;
1365
+ permlink: string;
1366
+ blog: string;
1367
+ reblog_on: string;
1368
+ reblogged_on: string;
1369
+ entry_id: number;
1370
+ }
1371
+ interface Reblog {
1372
+ author: string;
1373
+ permlink: string;
1374
+ }
1375
+ declare function getReblogsQueryOptions(username?: string, activeUsername?: string, limit?: number): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<Reblog[], Error, Reblog[], (string | number)[]>, "queryFn"> & {
1376
+ queryFn?: _tanstack_react_query.QueryFunction<Reblog[], (string | number)[], never> | undefined;
1377
+ } & {
1378
+ queryKey: (string | number)[] & {
1379
+ [dataTagSymbol]: Reblog[];
1380
+ [dataTagErrorSymbol]: Error;
1381
+ };
1382
+ };
1383
+
1384
+ interface Schedule {
1385
+ _id: string;
1386
+ username: string;
1387
+ permlink: string;
1388
+ title: string;
1389
+ body: string;
1390
+ tags: string[];
1391
+ tags_arr: string;
1392
+ schedule: string;
1393
+ original_schedule: string;
1394
+ reblog: boolean;
1395
+ status: 1 | 2 | 3 | 4;
1396
+ message: string | null;
1397
+ }
1398
+
1399
+ declare function getSchedulesQueryOptions(activeUsername: string | undefined): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<Schedule[], Error, Schedule[], (string | undefined)[]>, "queryFn"> & {
1400
+ queryFn?: _tanstack_react_query.QueryFunction<Schedule[], (string | undefined)[], never> | undefined;
1401
+ } & {
1402
+ queryKey: (string | undefined)[] & {
1403
+ [dataTagSymbol]: Schedule[];
1404
+ [dataTagErrorSymbol]: Error;
1405
+ };
1406
+ };
1407
+
1408
+ interface DraftMetadata {
1409
+ beneficiaries?: Array<{
1410
+ account: string;
1411
+ weight: number;
1412
+ }>;
1413
+ rewardType?: string;
1414
+ videos?: Record<string, any>;
1415
+ poll?: any;
1416
+ [key: string]: any;
1417
+ }
1418
+ interface Draft {
1419
+ body: string;
1420
+ created: string;
1421
+ modified: string;
1422
+ post_type: string;
1423
+ tags_arr: string[];
1424
+ tags: string;
1425
+ timestamp: number;
1426
+ title: string;
1427
+ _id: string;
1428
+ meta?: DraftMetadata;
1429
+ }
1430
+
1431
+ declare function getDraftsQueryOptions(activeUsername: string | undefined): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<Draft[], Error, Draft[], (string | undefined)[]>, "queryFn"> & {
1432
+ queryFn?: _tanstack_react_query.QueryFunction<Draft[], (string | undefined)[], never> | undefined;
1433
+ } & {
1434
+ queryKey: (string | undefined)[] & {
1435
+ [dataTagSymbol]: Draft[];
1436
+ [dataTagErrorSymbol]: Error;
1437
+ };
1438
+ };
1439
+
1440
+ interface UserImage {
1441
+ created: string;
1442
+ timestamp: number;
1443
+ url: string;
1444
+ _id: string;
1445
+ }
1446
+
1447
+ declare function getImagesQueryOptions(username?: string): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<UserImage[], Error, UserImage[], (string | undefined)[]>, "queryFn"> & {
1448
+ queryFn?: _tanstack_react_query.QueryFunction<UserImage[], (string | undefined)[], never> | undefined;
1449
+ } & {
1450
+ queryKey: (string | undefined)[] & {
1451
+ [dataTagSymbol]: UserImage[];
1452
+ [dataTagErrorSymbol]: Error;
1453
+ };
1454
+ };
1455
+ declare function getGalleryImagesQueryOptions(activeUsername: string | undefined): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<UserImage[], Error, UserImage[], (string | undefined)[]>, "queryFn"> & {
1456
+ queryFn?: _tanstack_react_query.QueryFunction<UserImage[], (string | undefined)[], never> | undefined;
1457
+ } & {
1458
+ queryKey: (string | undefined)[] & {
1459
+ [dataTagSymbol]: UserImage[];
1460
+ [dataTagErrorSymbol]: Error;
1461
+ };
1462
+ };
1463
+
1464
+ interface CommentHistoryListItem {
1465
+ title: string;
1466
+ body: string;
1467
+ tags: string[];
1468
+ timestamp: string;
1469
+ v: number;
1470
+ }
1471
+ interface CommentHistory {
1472
+ meta: {
1473
+ count: number;
1474
+ };
1475
+ list: CommentHistoryListItem[];
1476
+ }
1477
+
1478
+ declare function getCommentHistoryQueryOptions(author: string, permlink: string, onlyMeta?: boolean): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<CommentHistory, Error, CommentHistory, (string | boolean)[]>, "queryFn"> & {
1479
+ queryFn?: _tanstack_react_query.QueryFunction<CommentHistory, (string | boolean)[], never> | undefined;
1480
+ } & {
1481
+ queryKey: (string | boolean)[] & {
1482
+ [dataTagSymbol]: CommentHistory;
1483
+ [dataTagErrorSymbol]: Error;
1484
+ };
1485
+ };
1486
+
1487
+ interface DeletedEntry {
1488
+ body: string;
1489
+ title: string;
1490
+ tags: string[];
1491
+ }
1492
+ declare function getDeletedEntryQueryOptions(author: string, permlink: string): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<CommentHistory, Error, DeletedEntry | null, string[]>, "queryFn"> & {
1493
+ queryFn?: _tanstack_react_query.QueryFunction<CommentHistory, string[], never> | undefined;
1494
+ } & {
1495
+ queryKey: string[] & {
1496
+ [dataTagSymbol]: CommentHistory;
1497
+ [dataTagErrorSymbol]: Error;
1498
+ };
1499
+ };
1500
+
1501
+ declare function getPostTipsQueryOptions(author: string, permlink: string, isEnabled?: boolean): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<PostTipsResponse, Error, PostTipsResponse, string[]>, "queryFn"> & {
1502
+ queryFn?: _tanstack_react_query.QueryFunction<PostTipsResponse, string[], never> | undefined;
1503
+ } & {
1504
+ queryKey: string[] & {
1505
+ [dataTagSymbol]: PostTipsResponse;
1506
+ [dataTagErrorSymbol]: Error;
1507
+ };
1508
+ };
1509
+
1510
+ type WavesPage = WaveEntry[];
1511
+ type WavesCursor = WaveEntry | undefined;
1512
+ declare function getWavesByHostQueryOptions(host: string): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseInfiniteQueryOptions<WavesPage, Error, WavesPage, string[], WavesCursor>, "queryFn"> & {
1513
+ queryFn?: _tanstack_react_query.QueryFunction<WavesPage, string[], WavesCursor> | undefined;
1514
+ } & {
1515
+ queryKey: string[] & {
1516
+ [dataTagSymbol]: _tanstack_react_query.InfiniteData<WavesPage, unknown>;
1517
+ [dataTagErrorSymbol]: Error;
1518
+ };
1519
+ };
1520
+
1521
+ 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"> & {
1522
+ queryFn?: _tanstack_react_query.QueryFunction<WaveEntry[], string[], undefined> | undefined;
1523
+ } & {
1524
+ queryKey: string[] & {
1525
+ [dataTagSymbol]: _tanstack_react_query.InfiniteData<WaveEntry[], unknown>;
1526
+ [dataTagErrorSymbol]: Error;
1527
+ };
1528
+ };
1529
+
1530
+ 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"> & {
1531
+ queryFn?: _tanstack_react_query.QueryFunction<WaveEntry[], string[], undefined> | undefined;
1532
+ } & {
1533
+ queryKey: string[] & {
1534
+ [dataTagSymbol]: _tanstack_react_query.InfiniteData<WaveEntry[], unknown>;
1535
+ [dataTagErrorSymbol]: Error;
1536
+ };
1537
+ };
1538
+
1539
+ declare function getWavesTrendingTagsQueryOptions(host: string, hours?: number): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<WaveTrendingTag[], Error, WaveTrendingTag[], (string | number)[]>, "queryFn"> & {
1540
+ queryFn?: _tanstack_react_query.QueryFunction<WaveTrendingTag[], (string | number)[], never> | undefined;
1541
+ } & {
1542
+ queryKey: (string | number)[] & {
1543
+ [dataTagSymbol]: WaveTrendingTag[];
1544
+ [dataTagErrorSymbol]: Error;
1545
+ };
1546
+ };
1547
+
1548
+ declare function useAddFragment(username: string): _tanstack_react_query.UseMutationResult<Fragment, Error, {
1549
+ title: string;
1550
+ body: string;
1551
+ }, unknown>;
670
1552
 
671
1553
  declare function useEditFragment(username: string, fragmentId: string): _tanstack_react_query.UseMutationResult<Fragment, Error, {
672
1554
  title: string;
@@ -675,6 +1557,18 @@ declare function useEditFragment(username: string, fragmentId: string): _tanstac
675
1557
 
676
1558
  declare function useRemoveFragment(username: string, fragmentId: string): _tanstack_react_query.UseMutationResult<Response, Error, void, unknown>;
677
1559
 
1560
+ type EntryWithPostId = Entry$1 & {
1561
+ post_id: number;
1562
+ };
1563
+ declare function normalizeWaveEntryFromApi(entry: (Entry$1 & {
1564
+ post_id: number;
1565
+ container?: EntryWithPostId | null;
1566
+ parent?: EntryWithPostId | null;
1567
+ }) | null | undefined, host: string): WaveEntry | null;
1568
+ declare function toEntryArray(x: unknown): Entry$1[];
1569
+ declare function getVisibleFirstLevelThreadItems(container: WaveEntry): Promise<Entry$1[]>;
1570
+ declare function mapThreadItemsToWaveEntries(items: Entry$1[], container: WaveEntry, host: string): WaveEntry[];
1571
+
678
1572
  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
1573
  declare function useRecordActivity(username: string | undefined, activityType: ActivityType): _tanstack_react_query.UseMutationResult<void, Error, void, unknown>;
680
1574
 
@@ -683,6 +1577,72 @@ declare namespace index {
683
1577
  export { index_useRecordActivity as useRecordActivity };
684
1578
  }
685
1579
 
1580
+ interface LeaderBoardItem {
1581
+ _id: string;
1582
+ count: number;
1583
+ points: string;
1584
+ }
1585
+ type LeaderBoardDuration = "day" | "week" | "month";
1586
+
1587
+ interface CurationItem {
1588
+ efficiency: number;
1589
+ account: string;
1590
+ vests: number;
1591
+ votes: number;
1592
+ uniques: number;
1593
+ }
1594
+ type CurationDuration = "day" | "week" | "month";
1595
+
1596
+ interface PageStatsResponse {
1597
+ results: [
1598
+ {
1599
+ metrics: number[];
1600
+ dimensions: string[];
1601
+ }
1602
+ ];
1603
+ query: {
1604
+ site_id: string;
1605
+ metrics: string[];
1606
+ date_range: string[];
1607
+ filters: string[];
1608
+ };
1609
+ }
1610
+
1611
+ declare function getDiscoverLeaderboardQueryOptions(duration: LeaderBoardDuration): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<LeaderBoardItem[], Error, LeaderBoardItem[], string[]>, "queryFn"> & {
1612
+ queryFn?: _tanstack_react_query.QueryFunction<LeaderBoardItem[], string[], never> | undefined;
1613
+ } & {
1614
+ queryKey: string[] & {
1615
+ [dataTagSymbol]: LeaderBoardItem[];
1616
+ [dataTagErrorSymbol]: Error;
1617
+ };
1618
+ };
1619
+
1620
+ declare function getDiscoverCurationQueryOptions(duration: CurationDuration): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<CurationItem[], Error, CurationItem[], string[]>, "queryFn"> & {
1621
+ queryFn?: _tanstack_react_query.QueryFunction<CurationItem[], string[], never> | undefined;
1622
+ } & {
1623
+ queryKey: string[] & {
1624
+ [dataTagSymbol]: CurationItem[];
1625
+ [dataTagErrorSymbol]: Error;
1626
+ };
1627
+ };
1628
+
1629
+ /**
1630
+ * Get page statistics from the private analytics API
1631
+ *
1632
+ * @param url - URL to get stats for
1633
+ * @param dimensions - Dimensions to query (default: [])
1634
+ * @param metrics - Metrics to query (default: ["visitors", "pageviews", "visit_duration"])
1635
+ * @param dateRange - Date range for the query
1636
+ */
1637
+ 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"> & {
1638
+ queryFn?: _tanstack_react_query.QueryFunction<PageStatsResponse, (string | string[] | undefined)[], never> | undefined;
1639
+ } & {
1640
+ queryKey: (string | string[] | undefined)[] & {
1641
+ [dataTagSymbol]: PageStatsResponse;
1642
+ [dataTagErrorSymbol]: Error;
1643
+ };
1644
+ };
1645
+
686
1646
  interface ThreeSpeakVideo {
687
1647
  app: string;
688
1648
  beneficiaries: string;
@@ -791,7 +1751,7 @@ declare function getHivePoshLinksQueryOptions(username: string | undefined): _ta
791
1751
  username: any;
792
1752
  profile: any;
793
1753
  };
794
- }, Error, {
1754
+ } | null, Error, {
795
1755
  twitter: {
796
1756
  username: any;
797
1757
  profile: any;
@@ -800,7 +1760,7 @@ declare function getHivePoshLinksQueryOptions(username: string | undefined): _ta
800
1760
  username: any;
801
1761
  profile: any;
802
1762
  };
803
- }, (string | undefined)[]>, "queryFn"> & {
1763
+ } | null, (string | undefined)[]>, "queryFn"> & {
804
1764
  queryFn?: _tanstack_react_query.QueryFunction<{
805
1765
  twitter: {
806
1766
  username: any;
@@ -810,7 +1770,7 @@ declare function getHivePoshLinksQueryOptions(username: string | undefined): _ta
810
1770
  username: any;
811
1771
  profile: any;
812
1772
  };
813
- }, (string | undefined)[], never> | undefined;
1773
+ } | null, (string | undefined)[], never> | undefined;
814
1774
  } & {
815
1775
  queryKey: (string | undefined)[] & {
816
1776
  [dataTagSymbol]: {
@@ -822,7 +1782,7 @@ declare function getHivePoshLinksQueryOptions(username: string | undefined): _ta
822
1782
  username: any;
823
1783
  profile: any;
824
1784
  };
825
- };
1785
+ } | null;
826
1786
  [dataTagErrorSymbol]: Error;
827
1787
  };
828
1788
  };
@@ -998,6 +1958,23 @@ interface Community {
998
1958
  }
999
1959
  type Communities = Community[];
1000
1960
 
1961
+ type Subscription = string[];
1962
+
1963
+ interface AccountNotification {
1964
+ date: string;
1965
+ id: number;
1966
+ msg: string;
1967
+ score: number;
1968
+ type: string;
1969
+ url: string;
1970
+ }
1971
+
1972
+ interface RewardedCommunity {
1973
+ start_date: string;
1974
+ total_rewards: string;
1975
+ name: string;
1976
+ }
1977
+
1001
1978
  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
1979
  queryFn?: _tanstack_react_query.QueryFunction<Communities, (string | number | undefined)[], never> | undefined;
1003
1980
  } & {
@@ -1028,6 +2005,46 @@ declare function getCommunityContextQueryOptions(username: string | undefined, c
1028
2005
  };
1029
2006
  };
1030
2007
 
2008
+ /**
2009
+ * Get list of subscribers for a community
2010
+ *
2011
+ * @param communityName - The community name (e.g., "hive-123456")
2012
+ */
2013
+ declare function getCommunitySubscribersQueryOptions(communityName: string): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<Subscription[], Error, Subscription[], string[]>, "queryFn"> & {
2014
+ queryFn?: _tanstack_react_query.QueryFunction<Subscription[], string[], never> | undefined;
2015
+ } & {
2016
+ queryKey: string[] & {
2017
+ [dataTagSymbol]: Subscription[];
2018
+ [dataTagErrorSymbol]: Error;
2019
+ };
2020
+ };
2021
+
2022
+ type NotifPage = AccountNotification[];
2023
+ type NotifCursor = number | null;
2024
+ /**
2025
+ * Get account notifications for a community (bridge API)
2026
+ *
2027
+ * @param account - The account/community name
2028
+ * @param limit - Number of notifications per page
2029
+ */
2030
+ declare function getAccountNotificationsInfiniteQueryOptions(account: string, limit: number): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseInfiniteQueryOptions<NotifPage, Error, NotifPage, (string | number)[], NotifCursor>, "queryFn"> & {
2031
+ queryFn?: _tanstack_react_query.QueryFunction<NotifPage, (string | number)[], NotifCursor> | undefined;
2032
+ } & {
2033
+ queryKey: (string | number)[] & {
2034
+ [dataTagSymbol]: _tanstack_react_query.InfiniteData<NotifPage, unknown>;
2035
+ [dataTagErrorSymbol]: Error;
2036
+ };
2037
+ };
2038
+
2039
+ declare function getRewardedCommunitiesQueryOptions(): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<RewardedCommunity[], Error, RewardedCommunity[], string[]>, "queryFn"> & {
2040
+ queryFn?: _tanstack_react_query.QueryFunction<RewardedCommunity[], string[], never> | undefined;
2041
+ } & {
2042
+ queryKey: string[] & {
2043
+ [dataTagSymbol]: RewardedCommunity[];
2044
+ [dataTagErrorSymbol]: Error;
2045
+ };
2046
+ };
2047
+
1031
2048
  declare function getCommunityType(name: string, type_id: number): CommunityType;
1032
2049
  declare function getCommunityPermissions({ communityType, userRole, subscribed, }: {
1033
2050
  communityType: CommunityType;
@@ -1039,4 +2056,897 @@ declare function getCommunityPermissions({ communityType, userRole, subscribed,
1039
2056
  isModerator: boolean;
1040
2057
  };
1041
2058
 
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 };
2059
+ declare function getNotificationsUnreadCountQueryOptions(activeUsername: string | undefined): Omit<_tanstack_react_query.UseQueryOptions<number, Error, number, (string | undefined)[]>, "queryFn"> & {
2060
+ initialData: number | (() => number);
2061
+ queryFn?: _tanstack_react_query.QueryFunction<number, (string | undefined)[]> | undefined;
2062
+ } & {
2063
+ queryKey: (string | undefined)[] & {
2064
+ [dataTagSymbol]: number;
2065
+ [dataTagErrorSymbol]: Error;
2066
+ };
2067
+ };
2068
+
2069
+ declare enum NotificationFilter {
2070
+ VOTES = "rvotes",
2071
+ MENTIONS = "mentions",
2072
+ FAVORITES = "nfavorites",
2073
+ BOOKMARKS = "nbookmarks",
2074
+ FOLLOWS = "follows",
2075
+ REPLIES = "replies",
2076
+ REBLOGS = "reblogs",
2077
+ TRANSFERS = "transfers",
2078
+ DELEGATIONS = "delegations"
2079
+ }
2080
+
2081
+ declare enum NotifyTypes {
2082
+ VOTE = 1,
2083
+ MENTION = 2,
2084
+ FOLLOW = 3,
2085
+ COMMENT = 4,
2086
+ RE_BLOG = 5,
2087
+ TRANSFERS = 6,
2088
+ FAVORITES = 13,
2089
+ BOOKMARKS = 15,
2090
+ ALLOW_NOTIFY = "ALLOW_NOTIFY"
2091
+ }
2092
+ declare const ALL_NOTIFY_TYPES: readonly [NotifyTypes.VOTE, NotifyTypes.MENTION, NotifyTypes.FOLLOW, NotifyTypes.COMMENT, NotifyTypes.RE_BLOG, NotifyTypes.TRANSFERS, NotifyTypes.FAVORITES, NotifyTypes.BOOKMARKS];
2093
+ declare enum NotificationViewType {
2094
+ ALL = "All",
2095
+ UNREAD = "Unread",
2096
+ READ = "Read"
2097
+ }
2098
+
2099
+ interface BaseWsNotification {
2100
+ source: string;
2101
+ target: string;
2102
+ timestamp: string;
2103
+ }
2104
+ interface WsVoteNotification extends BaseWsNotification {
2105
+ type: "vote";
2106
+ extra: {
2107
+ permlink: string;
2108
+ weight: number;
2109
+ title: string | null;
2110
+ img_url: string | null;
2111
+ };
2112
+ }
2113
+ interface WsMentionNotification extends BaseWsNotification {
2114
+ type: "mention";
2115
+ extra: {
2116
+ permlink: string;
2117
+ is_post: 0 | 1;
2118
+ title: string | null;
2119
+ img_url: string | null;
2120
+ };
2121
+ }
2122
+ interface WsFavoriteNotification extends BaseWsNotification {
2123
+ type: "favorites";
2124
+ extra: {
2125
+ permlink: string;
2126
+ is_post: 0 | 1;
2127
+ title: string | null;
2128
+ };
2129
+ }
2130
+ interface WsBookmarkNotification extends BaseWsNotification {
2131
+ type: "bookmarks";
2132
+ extra: {
2133
+ permlink: string;
2134
+ is_post: 0 | 1;
2135
+ title: string | null;
2136
+ };
2137
+ }
2138
+ interface WsFollowNotification extends BaseWsNotification {
2139
+ type: "follow";
2140
+ extra: {
2141
+ what: string[];
2142
+ };
2143
+ }
2144
+ interface WsReplyNotification extends BaseWsNotification {
2145
+ type: "reply";
2146
+ extra: {
2147
+ title: string;
2148
+ body: string;
2149
+ json_metadata: string;
2150
+ permlink: string;
2151
+ parent_author: string;
2152
+ parent_permlink: string;
2153
+ parent_title: string | null;
2154
+ parent_img_url: string | null;
2155
+ };
2156
+ }
2157
+ interface WsReblogNotification extends BaseWsNotification {
2158
+ type: "reblog";
2159
+ extra: {
2160
+ permlink: string;
2161
+ title: string | null;
2162
+ img_url: string | null;
2163
+ };
2164
+ }
2165
+ interface WsTransferNotification extends BaseWsNotification {
2166
+ type: "transfer";
2167
+ extra: {
2168
+ amount: string;
2169
+ memo: string;
2170
+ };
2171
+ }
2172
+ interface WsDelegationsNotification extends BaseWsNotification {
2173
+ type: "delegations";
2174
+ extra: {
2175
+ amount: string;
2176
+ };
2177
+ }
2178
+ interface WsSpinNotification extends BaseWsNotification {
2179
+ type: "spin";
2180
+ }
2181
+ interface WsInactiveNotification extends BaseWsNotification {
2182
+ type: "inactive";
2183
+ }
2184
+ interface WsReferralNotification extends BaseWsNotification {
2185
+ type: "referral";
2186
+ }
2187
+ type WsNotification = WsVoteNotification | WsMentionNotification | WsFavoriteNotification | WsBookmarkNotification | WsFollowNotification | WsReplyNotification | WsReblogNotification | WsTransferNotification | WsSpinNotification | WsInactiveNotification | WsReferralNotification | WsDelegationsNotification;
2188
+ interface BaseAPiNotification {
2189
+ id: string;
2190
+ source: string;
2191
+ read: 0 | 1;
2192
+ timestamp: string;
2193
+ ts: number;
2194
+ gk: string;
2195
+ gkf: boolean;
2196
+ }
2197
+ interface ApiVoteNotification extends BaseAPiNotification {
2198
+ type: "vote" | "unvote";
2199
+ voter: string;
2200
+ weight: number;
2201
+ author: string;
2202
+ permlink: string;
2203
+ title: string | null;
2204
+ img_url: string | null;
2205
+ }
2206
+ interface ApiMentionNotification extends BaseAPiNotification {
2207
+ type: "mention";
2208
+ author: string;
2209
+ account: string;
2210
+ permlink: string;
2211
+ post: boolean;
2212
+ title: string | null;
2213
+ img_url: string | null;
2214
+ deck?: boolean;
2215
+ }
2216
+ interface ApiFollowNotification extends BaseAPiNotification {
2217
+ type: "follow" | "unfollow" | "ignore";
2218
+ follower: string;
2219
+ following: string;
2220
+ blog: boolean;
2221
+ }
2222
+ interface ApiReblogNotification extends BaseAPiNotification {
2223
+ type: "reblog";
2224
+ account: string;
2225
+ author: string;
2226
+ permlink: string;
2227
+ title: string | null;
2228
+ img_url: string | null;
2229
+ }
2230
+ interface ApiReplyNotification extends BaseAPiNotification {
2231
+ type: "reply";
2232
+ author: string;
2233
+ permlink: string;
2234
+ title: string;
2235
+ body: string;
2236
+ json_metadata: string;
2237
+ metadata: any;
2238
+ parent_author: string;
2239
+ parent_permlink: string;
2240
+ parent_title: string | null;
2241
+ parent_img_url: string | null;
2242
+ }
2243
+ interface ApiTransferNotification extends BaseAPiNotification {
2244
+ type: "transfer";
2245
+ to: string;
2246
+ amount: string;
2247
+ memo: string | null;
2248
+ }
2249
+ interface ApiFavoriteNotification extends BaseAPiNotification {
2250
+ type: "favorites";
2251
+ author: string;
2252
+ account: string;
2253
+ permlink: string;
2254
+ post: boolean;
2255
+ title: string | null;
2256
+ }
2257
+ interface ApiBookmarkNotification extends BaseAPiNotification {
2258
+ type: "bookmarks";
2259
+ author: string;
2260
+ account: string;
2261
+ permlink: string;
2262
+ post: boolean;
2263
+ title: string | null;
2264
+ }
2265
+ interface ApiSpinNotification extends BaseAPiNotification {
2266
+ type: "spin";
2267
+ }
2268
+ interface ApiInactiveNotification extends BaseAPiNotification {
2269
+ type: "inactive";
2270
+ }
2271
+ interface ApiReferralNotification extends BaseAPiNotification {
2272
+ type: "referral";
2273
+ }
2274
+ interface ApiDelegationsNotification extends BaseAPiNotification {
2275
+ type: "delegations";
2276
+ to: string;
2277
+ amount: string;
2278
+ }
2279
+ interface ApiNotificationSetting {
2280
+ system: string;
2281
+ allows_notify: number;
2282
+ notify_types: number[] | null;
2283
+ status: number;
2284
+ }
2285
+ type ApiNotification = ApiVoteNotification | ApiMentionNotification | ApiFavoriteNotification | ApiBookmarkNotification | ApiFollowNotification | ApiReblogNotification | ApiReplyNotification | ApiTransferNotification | ApiSpinNotification | ApiInactiveNotification | ApiReferralNotification | ApiDelegationsNotification;
2286
+ interface Notifications {
2287
+ filter: NotificationFilter | null;
2288
+ unread: number;
2289
+ list: ApiNotification[];
2290
+ loading: boolean;
2291
+ hasMore: boolean;
2292
+ unreadFetchFlag: boolean;
2293
+ settings?: ApiNotificationSetting;
2294
+ fbSupport: "pending" | "granted" | "denied";
2295
+ }
2296
+
2297
+ interface Announcement {
2298
+ id: number;
2299
+ title: string;
2300
+ description: string;
2301
+ button_text: string;
2302
+ button_link: string;
2303
+ path: string | Array<string>;
2304
+ auth: boolean;
2305
+ }
2306
+
2307
+ declare function getNotificationsInfiniteQueryOptions(activeUsername: string | undefined, filter?: NotificationFilter | undefined): _tanstack_react_query.UseInfiniteQueryOptions<ApiNotification[], Error, _tanstack_react_query.InfiniteData<ApiNotification[], unknown>, (string | undefined)[], string> & {
2308
+ initialData: _tanstack_react_query.InfiniteData<ApiNotification[], string> | (() => _tanstack_react_query.InfiniteData<ApiNotification[], string>) | undefined;
2309
+ } & {
2310
+ queryKey: (string | undefined)[] & {
2311
+ [dataTagSymbol]: _tanstack_react_query.InfiniteData<ApiNotification[], unknown>;
2312
+ [dataTagErrorSymbol]: Error;
2313
+ };
2314
+ };
2315
+
2316
+ declare function getNotificationsSettingsQueryOptions(activeUsername: string | undefined): Omit<_tanstack_react_query.UseQueryOptions<ApiNotificationSetting, Error, ApiNotificationSetting, (string | undefined)[]>, "queryFn"> & {
2317
+ initialData: ApiNotificationSetting | (() => ApiNotificationSetting);
2318
+ queryFn?: _tanstack_react_query.QueryFunction<ApiNotificationSetting, (string | undefined)[]> | undefined;
2319
+ } & {
2320
+ queryKey: (string | undefined)[] & {
2321
+ [dataTagSymbol]: ApiNotificationSetting;
2322
+ [dataTagErrorSymbol]: Error;
2323
+ };
2324
+ };
2325
+
2326
+ declare function getAnnouncementsQueryOptions(): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<Announcement[], Error, Announcement[], string[]>, "queryFn"> & {
2327
+ queryFn?: _tanstack_react_query.QueryFunction<Announcement[], string[], never> | undefined;
2328
+ } & {
2329
+ queryKey: string[] & {
2330
+ [dataTagSymbol]: Announcement[];
2331
+ [dataTagErrorSymbol]: Error;
2332
+ };
2333
+ };
2334
+
2335
+ interface Proposal {
2336
+ creator: string;
2337
+ daily_pay: {
2338
+ amount: string;
2339
+ nai: string;
2340
+ precision: number;
2341
+ };
2342
+ end_date: string;
2343
+ id: number;
2344
+ permlink: string;
2345
+ proposal_id: number;
2346
+ receiver: string;
2347
+ start_date: string;
2348
+ status: string;
2349
+ subject: string;
2350
+ total_votes: string;
2351
+ }
2352
+
2353
+ interface ProposalVote {
2354
+ id: number;
2355
+ proposal?: Proposal;
2356
+ voter: string;
2357
+ }
2358
+
2359
+ /**
2360
+ * Get a single proposal by ID
2361
+ */
2362
+ declare function getProposalQueryOptions(id: number): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<Proposal, Error, Proposal, (string | number)[]>, "queryFn"> & {
2363
+ queryFn?: _tanstack_react_query.QueryFunction<Proposal, (string | number)[], never> | undefined;
2364
+ } & {
2365
+ queryKey: (string | number)[] & {
2366
+ [dataTagSymbol]: Proposal;
2367
+ [dataTagErrorSymbol]: Error;
2368
+ };
2369
+ };
2370
+
2371
+ /**
2372
+ * Get all proposals, sorted with expired proposals at the end
2373
+ */
2374
+ declare function getProposalsQueryOptions(): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<Proposal[], Error, Proposal[], string[]>, "queryFn"> & {
2375
+ queryFn?: _tanstack_react_query.QueryFunction<Proposal[], string[], never> | undefined;
2376
+ } & {
2377
+ queryKey: string[] & {
2378
+ [dataTagSymbol]: Proposal[];
2379
+ [dataTagErrorSymbol]: Error;
2380
+ };
2381
+ };
2382
+
2383
+ type ProposalVoteRow = {
2384
+ id: number;
2385
+ voter: string;
2386
+ voterAccount: FullAccount;
2387
+ };
2388
+ /**
2389
+ * Get proposal votes with pagination and enriched voter account data
2390
+ *
2391
+ * @param proposalId - The proposal ID
2392
+ * @param voter - Starting voter for pagination
2393
+ * @param limit - Number of votes per page
2394
+ */
2395
+ declare function getProposalVotesInfiniteQueryOptions(proposalId: number, voter: string, limit: number): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseInfiniteQueryOptions<ProposalVoteRow[], Error, ProposalVoteRow[], (string | number)[], string>, "queryFn"> & {
2396
+ queryFn?: _tanstack_react_query.QueryFunction<ProposalVoteRow[], (string | number)[], string> | undefined;
2397
+ } & {
2398
+ queryKey: (string | number)[] & {
2399
+ [dataTagSymbol]: _tanstack_react_query.InfiniteData<ProposalVoteRow[], unknown>;
2400
+ [dataTagErrorSymbol]: Error;
2401
+ };
2402
+ };
2403
+
2404
+ /**
2405
+ * Fetches ALL proposal votes for a specific user in a single query.
2406
+ * Much more efficient than querying each proposal individually.
2407
+ * Uses "by_voter_proposal" order to get all votes by a user.
2408
+ */
2409
+ declare function getUserProposalVotesQueryOptions(voter: string): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ProposalVote[], Error, ProposalVote[], string[]>, "queryFn"> & {
2410
+ queryFn?: _tanstack_react_query.QueryFunction<ProposalVote[], string[], never> | undefined;
2411
+ } & {
2412
+ queryKey: string[] & {
2413
+ [dataTagSymbol]: ProposalVote[];
2414
+ [dataTagErrorSymbol]: Error;
2415
+ };
2416
+ };
2417
+
2418
+ interface DelegatedVestingShare {
2419
+ id: number;
2420
+ delegatee: string;
2421
+ delegator: string;
2422
+ min_delegation_time: string;
2423
+ vesting_shares: string;
2424
+ }
2425
+
2426
+ interface ConversionRequest {
2427
+ amount: string;
2428
+ conversion_date: string;
2429
+ id: number;
2430
+ owner: string;
2431
+ requestid: number;
2432
+ }
2433
+ interface CollateralizedConversionRequest {
2434
+ collateral_amount: string;
2435
+ conversion_date: string;
2436
+ converted_amount: string;
2437
+ id: number;
2438
+ owner: string;
2439
+ requestid: number;
2440
+ }
2441
+
2442
+ interface SavingsWithdrawRequest {
2443
+ id: number;
2444
+ from: string;
2445
+ to: string;
2446
+ memo: string;
2447
+ request_id: number;
2448
+ amount: string;
2449
+ complete: string;
2450
+ }
2451
+
2452
+ interface WithdrawRoute {
2453
+ auto_vest: boolean;
2454
+ from_account: string;
2455
+ id: number;
2456
+ percent: number;
2457
+ to_account: string;
2458
+ }
2459
+
2460
+ interface OpenOrdersData {
2461
+ id: number;
2462
+ created: string;
2463
+ expiration: string;
2464
+ seller: string;
2465
+ orderid: number;
2466
+ for_sale: number;
2467
+ sell_price: {
2468
+ base: string;
2469
+ quote: string;
2470
+ };
2471
+ real_price: string;
2472
+ rewarded: boolean;
2473
+ }
2474
+
2475
+ interface RcDirectDelegation {
2476
+ from: string;
2477
+ to: string;
2478
+ delegated_rc: string;
2479
+ }
2480
+ interface RcDirectDelegationsResponse {
2481
+ rc_direct_delegations: RcDirectDelegation[];
2482
+ next_start?: [string, string] | null;
2483
+ }
2484
+
2485
+ interface ReceivedVestingShare {
2486
+ delegatee: string;
2487
+ delegator: string;
2488
+ timestamp: string;
2489
+ vesting_shares: string;
2490
+ }
2491
+
2492
+ /**
2493
+ * Get vesting delegations for an account
2494
+ *
2495
+ * @param username - The account username
2496
+ * @param from - Pagination start point (delegatee name)
2497
+ * @param limit - Maximum number of results (default: 50)
2498
+ */
2499
+ declare function getVestingDelegationsQueryOptions(username?: string, from?: string, limit?: number): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<DelegatedVestingShare[], Error, DelegatedVestingShare[], (string | number | undefined)[]>, "queryFn"> & {
2500
+ queryFn?: _tanstack_react_query.QueryFunction<DelegatedVestingShare[], (string | number | undefined)[], never> | undefined;
2501
+ } & {
2502
+ queryKey: (string | number | undefined)[] & {
2503
+ [dataTagSymbol]: DelegatedVestingShare[];
2504
+ [dataTagErrorSymbol]: Error;
2505
+ };
2506
+ };
2507
+
2508
+ /**
2509
+ * Get HBD to HIVE conversion requests for an account
2510
+ *
2511
+ * @param account - The account username
2512
+ */
2513
+ declare function getConversionRequestsQueryOptions(account: string): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ConversionRequest[], Error, ConversionRequest[], string[]>, "queryFn"> & {
2514
+ queryFn?: _tanstack_react_query.QueryFunction<ConversionRequest[], string[], never> | undefined;
2515
+ } & {
2516
+ queryKey: string[] & {
2517
+ [dataTagSymbol]: ConversionRequest[];
2518
+ [dataTagErrorSymbol]: Error;
2519
+ };
2520
+ };
2521
+
2522
+ /**
2523
+ * Get collateralized HIVE to HBD conversion requests for an account
2524
+ *
2525
+ * @param account - The account username
2526
+ */
2527
+ declare function getCollateralizedConversionRequestsQueryOptions(account: string): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<CollateralizedConversionRequest[], Error, CollateralizedConversionRequest[], string[]>, "queryFn"> & {
2528
+ queryFn?: _tanstack_react_query.QueryFunction<CollateralizedConversionRequest[], string[], never> | undefined;
2529
+ } & {
2530
+ queryKey: string[] & {
2531
+ [dataTagSymbol]: CollateralizedConversionRequest[];
2532
+ [dataTagErrorSymbol]: Error;
2533
+ };
2534
+ };
2535
+
2536
+ /**
2537
+ * Get pending savings withdrawal requests for an account
2538
+ *
2539
+ * @param account - The account username
2540
+ */
2541
+ declare function getSavingsWithdrawFromQueryOptions(account: string): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<SavingsWithdrawRequest[], Error, SavingsWithdrawRequest[], string[]>, "queryFn"> & {
2542
+ queryFn?: _tanstack_react_query.QueryFunction<SavingsWithdrawRequest[], string[], never> | undefined;
2543
+ } & {
2544
+ queryKey: string[] & {
2545
+ [dataTagSymbol]: SavingsWithdrawRequest[];
2546
+ [dataTagErrorSymbol]: Error;
2547
+ };
2548
+ };
2549
+
2550
+ /**
2551
+ * Get power down (vesting withdrawal) routes for an account
2552
+ *
2553
+ * @param account - The account username
2554
+ */
2555
+ declare function getWithdrawRoutesQueryOptions(account: string): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<WithdrawRoute[], Error, WithdrawRoute[], string[]>, "queryFn"> & {
2556
+ queryFn?: _tanstack_react_query.QueryFunction<WithdrawRoute[], string[], never> | undefined;
2557
+ } & {
2558
+ queryKey: string[] & {
2559
+ [dataTagSymbol]: WithdrawRoute[];
2560
+ [dataTagErrorSymbol]: Error;
2561
+ };
2562
+ };
2563
+
2564
+ /**
2565
+ * Get open market orders for an account
2566
+ *
2567
+ * @param user - The account username
2568
+ */
2569
+ declare function getOpenOrdersQueryOptions(user: string): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<OpenOrdersData[], Error, OpenOrdersData[], string[]>, "queryFn"> & {
2570
+ queryFn?: _tanstack_react_query.QueryFunction<OpenOrdersData[], string[], never> | undefined;
2571
+ } & {
2572
+ queryKey: string[] & {
2573
+ [dataTagSymbol]: OpenOrdersData[];
2574
+ [dataTagErrorSymbol]: Error;
2575
+ };
2576
+ };
2577
+
2578
+ type RcPage = RcDirectDelegation[];
2579
+ type RcCursor = string | null;
2580
+ /**
2581
+ * Get outgoing RC delegations for an account
2582
+ *
2583
+ * @param username - Account name to get delegations for
2584
+ * @param limit - Number of delegations per page
2585
+ */
2586
+ declare function getOutgoingRcDelegationsInfiniteQueryOptions(username: string, limit?: number): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseInfiniteQueryOptions<RcPage, Error, RcPage, (string | number)[], RcCursor>, "queryFn"> & {
2587
+ queryFn?: _tanstack_react_query.QueryFunction<RcPage, (string | number)[], RcCursor> | undefined;
2588
+ } & {
2589
+ queryKey: (string | number)[] & {
2590
+ [dataTagSymbol]: _tanstack_react_query.InfiniteData<RcPage, unknown>;
2591
+ [dataTagErrorSymbol]: Error;
2592
+ };
2593
+ };
2594
+
2595
+ declare function getReceivedVestingSharesQueryOptions(username: string): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<ReceivedVestingShare[], Error, ReceivedVestingShare[], string[]>, "queryFn"> & {
2596
+ queryFn?: _tanstack_react_query.QueryFunction<ReceivedVestingShare[], string[], never> | undefined;
2597
+ } & {
2598
+ queryKey: string[] & {
2599
+ [dataTagSymbol]: ReceivedVestingShare[];
2600
+ [dataTagErrorSymbol]: Error;
2601
+ };
2602
+ };
2603
+
2604
+ interface Witness {
2605
+ total_missed: number;
2606
+ url: string;
2607
+ props: {
2608
+ account_creation_fee: string;
2609
+ account_subsidy_budget: number;
2610
+ maximum_block_size: number;
2611
+ };
2612
+ hbd_exchange_rate: {
2613
+ base: string;
2614
+ };
2615
+ available_witness_account_subsidies: number;
2616
+ running_version: string;
2617
+ owner: string;
2618
+ signing_key: string;
2619
+ last_hbd_exchange_update: string;
2620
+ }
2621
+
2622
+ type WitnessPage = Witness[];
2623
+ /**
2624
+ * Get witnesses ordered by vote count (infinite scroll)
2625
+ *
2626
+ * @param limit - Number of witnesses per page
2627
+ */
2628
+ declare function getWitnessesInfiniteQueryOptions(limit: number): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseInfiniteQueryOptions<WitnessPage, Error, WitnessPage, (string | number)[], string>, "queryFn"> & {
2629
+ queryFn?: _tanstack_react_query.QueryFunction<WitnessPage, (string | number)[], string> | undefined;
2630
+ } & {
2631
+ queryKey: (string | number)[] & {
2632
+ [dataTagSymbol]: _tanstack_react_query.InfiniteData<WitnessPage, unknown>;
2633
+ [dataTagErrorSymbol]: Error;
2634
+ };
2635
+ };
2636
+
2637
+ interface OrdersDataItem {
2638
+ created: string;
2639
+ hbd: number;
2640
+ hive: number;
2641
+ order_price: {
2642
+ base: string;
2643
+ quote: string;
2644
+ };
2645
+ real_price: string;
2646
+ }
2647
+
2648
+ interface OrdersData {
2649
+ bids: OrdersDataItem[];
2650
+ asks: OrdersDataItem[];
2651
+ trading: OrdersDataItem[];
2652
+ }
2653
+
2654
+ interface MarketStatistics {
2655
+ hbd_volume: string;
2656
+ highest_bid: string;
2657
+ hive_volume: string;
2658
+ latest: string;
2659
+ lowest_ask: string;
2660
+ percent_change: string;
2661
+ }
2662
+
2663
+ interface MarketCandlestickDataItem {
2664
+ hive: {
2665
+ high: number;
2666
+ low: number;
2667
+ open: number;
2668
+ close: number;
2669
+ volume: number;
2670
+ };
2671
+ id: number;
2672
+ non_hive: {
2673
+ high: number;
2674
+ low: number;
2675
+ open: number;
2676
+ close: number;
2677
+ volume: number;
2678
+ };
2679
+ open: string;
2680
+ seconds: number;
2681
+ }
2682
+
2683
+ interface MarketData {
2684
+ prices?: [number, number][];
2685
+ }
2686
+
2687
+ interface HiveHbdStats {
2688
+ price: number;
2689
+ close: number;
2690
+ high: number;
2691
+ low: number;
2692
+ percent: number;
2693
+ totalFromAsset: string;
2694
+ totalToAsset: string;
2695
+ }
2696
+
2697
+ /**
2698
+ * Get the internal HIVE/HBD market order book
2699
+ *
2700
+ * @param limit - Maximum number of orders to fetch (default: 500)
2701
+ */
2702
+ declare function getOrderBookQueryOptions(limit?: number): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<OrdersData, Error, OrdersData, (string | number)[]>, "queryFn"> & {
2703
+ queryFn?: _tanstack_react_query.QueryFunction<OrdersData, (string | number)[], never> | undefined;
2704
+ } & {
2705
+ queryKey: (string | number)[] & {
2706
+ [dataTagSymbol]: OrdersData;
2707
+ [dataTagErrorSymbol]: Error;
2708
+ };
2709
+ };
2710
+
2711
+ /**
2712
+ * Get HIVE/HBD market statistics from the blockchain
2713
+ */
2714
+ declare function getMarketStatisticsQueryOptions(): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<MarketStatistics, Error, MarketStatistics, string[]>, "queryFn"> & {
2715
+ queryFn?: _tanstack_react_query.QueryFunction<MarketStatistics, string[], never> | undefined;
2716
+ } & {
2717
+ queryKey: string[] & {
2718
+ [dataTagSymbol]: MarketStatistics;
2719
+ [dataTagErrorSymbol]: Error;
2720
+ };
2721
+ };
2722
+
2723
+ /**
2724
+ * Get HIVE/HBD market history (candlestick data)
2725
+ *
2726
+ * @param seconds - Bucket size in seconds
2727
+ * @param startDate - Start date for the data
2728
+ * @param endDate - End date for the data
2729
+ */
2730
+ declare function getMarketHistoryQueryOptions(seconds: number, startDate: Date, endDate: Date): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<MarketCandlestickDataItem[], Error, MarketCandlestickDataItem[], (string | number)[]>, "queryFn"> & {
2731
+ queryFn?: _tanstack_react_query.QueryFunction<MarketCandlestickDataItem[], (string | number)[], never> | undefined;
2732
+ } & {
2733
+ queryKey: (string | number)[] & {
2734
+ [dataTagSymbol]: MarketCandlestickDataItem[];
2735
+ [dataTagErrorSymbol]: Error;
2736
+ };
2737
+ };
2738
+
2739
+ /**
2740
+ * Get combined HIVE/HBD statistics including price, 24h change, and volume
2741
+ */
2742
+ declare function getHiveHbdStatsQueryOptions(): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<HiveHbdStats, Error, HiveHbdStats, string[]>, "queryFn"> & {
2743
+ queryFn?: _tanstack_react_query.QueryFunction<HiveHbdStats, string[], never> | undefined;
2744
+ } & {
2745
+ queryKey: string[] & {
2746
+ [dataTagSymbol]: HiveHbdStats;
2747
+ [dataTagErrorSymbol]: Error;
2748
+ };
2749
+ };
2750
+
2751
+ /**
2752
+ * Get market chart data from CoinGecko API
2753
+ *
2754
+ * @param coin - Coin ID (e.g., "hive", "bitcoin")
2755
+ * @param vsCurrency - Currency to compare against (e.g., "usd", "eur")
2756
+ * @param fromTs - From timestamp (Unix timestamp in seconds)
2757
+ * @param toTs - To timestamp (Unix timestamp in seconds)
2758
+ */
2759
+ declare function getMarketDataQueryOptions(coin: string, vsCurrency: string, fromTs: string, toTs: string): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<MarketData, Error, MarketData, string[]>, "queryFn"> & {
2760
+ queryFn?: _tanstack_react_query.QueryFunction<MarketData, string[], never> | undefined;
2761
+ } & {
2762
+ queryKey: string[] & {
2763
+ [dataTagSymbol]: MarketData;
2764
+ [dataTagErrorSymbol]: Error;
2765
+ };
2766
+ };
2767
+
2768
+ interface PointTransaction {
2769
+ id: number;
2770
+ type: number;
2771
+ created: string;
2772
+ memo: string | null;
2773
+ amount: string;
2774
+ sender: string | null;
2775
+ receiver: string | null;
2776
+ }
2777
+ interface Points {
2778
+ points: string;
2779
+ uPoints: string;
2780
+ transactions: PointTransaction[];
2781
+ }
2782
+
2783
+ declare function getPointsQueryOptions(username?: string, filter?: number): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<{
2784
+ readonly points: string;
2785
+ readonly uPoints: string;
2786
+ readonly transactions: PointTransaction[];
2787
+ }, Error, {
2788
+ readonly points: string;
2789
+ readonly uPoints: string;
2790
+ readonly transactions: PointTransaction[];
2791
+ }, (string | number | undefined)[]>, "queryFn"> & {
2792
+ queryFn?: _tanstack_react_query.QueryFunction<{
2793
+ readonly points: string;
2794
+ readonly uPoints: string;
2795
+ readonly transactions: PointTransaction[];
2796
+ }, (string | number | undefined)[], never> | undefined;
2797
+ } & {
2798
+ queryKey: (string | number | undefined)[] & {
2799
+ [dataTagSymbol]: {
2800
+ readonly points: string;
2801
+ readonly uPoints: string;
2802
+ readonly transactions: PointTransaction[];
2803
+ };
2804
+ [dataTagErrorSymbol]: Error;
2805
+ };
2806
+ };
2807
+
2808
+ interface SearchResult {
2809
+ id: number;
2810
+ title: string;
2811
+ body: string;
2812
+ category: string;
2813
+ author: string;
2814
+ permlink: string;
2815
+ author_rep: number;
2816
+ total_payout: number;
2817
+ img_url: string;
2818
+ created_at: string;
2819
+ children: number;
2820
+ tags: string[];
2821
+ app: string;
2822
+ depth: number;
2823
+ }
2824
+ interface SearchResponse {
2825
+ hits: number;
2826
+ took: number;
2827
+ scroll_id?: string;
2828
+ results: SearchResult[];
2829
+ }
2830
+
2831
+ interface AccountSearchResult {
2832
+ name: string;
2833
+ full_name: string;
2834
+ about: string;
2835
+ reputation: number;
2836
+ }
2837
+
2838
+ interface TagSearchResult {
2839
+ tag: string;
2840
+ repeat: number;
2841
+ }
2842
+
2843
+ 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"> & {
2844
+ queryFn?: _tanstack_react_query.QueryFunction<SearchResponse, (string | number | undefined)[], never> | undefined;
2845
+ } & {
2846
+ queryKey: (string | number | undefined)[] & {
2847
+ [dataTagSymbol]: SearchResponse;
2848
+ [dataTagErrorSymbol]: Error;
2849
+ };
2850
+ };
2851
+ type PageParam = {
2852
+ sid: string | undefined;
2853
+ hasNextPage: boolean;
2854
+ };
2855
+ declare function getControversialRisingInfiniteQueryOptions(what: string, tag: string, enabled?: boolean): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseInfiniteQueryOptions<SearchResponse, Error, SearchResponse, (string | number)[], PageParam>, "queryFn"> & {
2856
+ queryFn?: _tanstack_react_query.QueryFunction<SearchResponse, (string | number)[], PageParam> | undefined;
2857
+ } & {
2858
+ queryKey: (string | number)[] & {
2859
+ [dataTagSymbol]: _tanstack_react_query.InfiniteData<SearchResponse, unknown>;
2860
+ [dataTagErrorSymbol]: Error;
2861
+ };
2862
+ };
2863
+
2864
+ interface Entry {
2865
+ author: string;
2866
+ permlink: string;
2867
+ json_metadata?: {
2868
+ tags?: string[];
2869
+ };
2870
+ }
2871
+ declare function getSimilarEntriesQueryOptions(entry: Entry): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<SearchResult[], Error, SearchResult[], string[]>, "queryFn"> & {
2872
+ queryFn?: _tanstack_react_query.QueryFunction<SearchResult[], string[], never> | undefined;
2873
+ } & {
2874
+ queryKey: string[] & {
2875
+ [dataTagSymbol]: SearchResult[];
2876
+ [dataTagErrorSymbol]: Error;
2877
+ };
2878
+ };
2879
+
2880
+ declare function getSearchAccountQueryOptions(q: string, limit?: number, random?: boolean): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<AccountSearchResult[], Error, AccountSearchResult[], (string | number)[]>, "queryFn"> & {
2881
+ queryFn?: _tanstack_react_query.QueryFunction<AccountSearchResult[], (string | number)[], never> | undefined;
2882
+ } & {
2883
+ queryKey: (string | number)[] & {
2884
+ [dataTagSymbol]: AccountSearchResult[];
2885
+ [dataTagErrorSymbol]: Error;
2886
+ };
2887
+ };
2888
+
2889
+ declare function getSearchTopicsQueryOptions(q: string, limit?: number, random?: boolean): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<TagSearchResult[], Error, TagSearchResult[], string[]>, "queryFn"> & {
2890
+ queryFn?: _tanstack_react_query.QueryFunction<TagSearchResult[], string[], never> | undefined;
2891
+ } & {
2892
+ queryKey: string[] & {
2893
+ [dataTagSymbol]: TagSearchResult[];
2894
+ [dataTagErrorSymbol]: Error;
2895
+ };
2896
+ };
2897
+
2898
+ 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"> & {
2899
+ queryFn?: _tanstack_react_query.QueryFunction<SearchResponse, (string | number | boolean | undefined)[], string | undefined> | undefined;
2900
+ } & {
2901
+ queryKey: (string | number | boolean | undefined)[] & {
2902
+ [dataTagSymbol]: _tanstack_react_query.InfiniteData<SearchResponse, unknown>;
2903
+ [dataTagErrorSymbol]: Error;
2904
+ };
2905
+ };
2906
+
2907
+ declare function getSearchPathQueryOptions(q: string): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<string[], Error, string[], string[]>, "queryFn"> & {
2908
+ queryFn?: _tanstack_react_query.QueryFunction<string[], string[], never> | undefined;
2909
+ } & {
2910
+ queryKey: string[] & {
2911
+ [dataTagSymbol]: string[];
2912
+ [dataTagErrorSymbol]: Error;
2913
+ };
2914
+ };
2915
+
2916
+ interface PromotePrice {
2917
+ duration: number;
2918
+ price: number;
2919
+ }
2920
+
2921
+ declare function getBoostPlusPricesQueryOptions(accessToken: string): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<PromotePrice[], Error, PromotePrice[], string[]>, "queryFn"> & {
2922
+ queryFn?: _tanstack_react_query.QueryFunction<PromotePrice[], string[], never> | undefined;
2923
+ } & {
2924
+ queryKey: string[] & {
2925
+ [dataTagSymbol]: PromotePrice[];
2926
+ [dataTagErrorSymbol]: Error;
2927
+ };
2928
+ };
2929
+
2930
+ declare function getPromotePriceQueryOptions(accessToken: string): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<PromotePrice[], Error, PromotePrice[], string[]>, "queryFn"> & {
2931
+ queryFn?: _tanstack_react_query.QueryFunction<PromotePrice[], string[], never> | undefined;
2932
+ } & {
2933
+ queryKey: string[] & {
2934
+ [dataTagSymbol]: PromotePrice[];
2935
+ [dataTagErrorSymbol]: Error;
2936
+ };
2937
+ };
2938
+
2939
+ interface BoostPlusAccountPrice {
2940
+ account: string;
2941
+ expires: Date;
2942
+ }
2943
+ declare function getBoostPlusAccountPricesQueryOptions(account: string, accessToken: string): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<BoostPlusAccountPrice | null, Error, BoostPlusAccountPrice | null, string[]>, "queryFn"> & {
2944
+ queryFn?: _tanstack_react_query.QueryFunction<BoostPlusAccountPrice | null, string[], never> | undefined;
2945
+ } & {
2946
+ queryKey: string[] & {
2947
+ [dataTagSymbol]: BoostPlusAccountPrice | null;
2948
+ [dataTagErrorSymbol]: Error;
2949
+ };
2950
+ };
2951
+
2952
+ 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 };