@atproto/bsky 0.0.30 → 0.0.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/db/index.js.map +2 -2
  3. package/dist/index.js +1315 -587
  4. package/dist/index.js.map +3 -3
  5. package/dist/indexer/subscription.d.ts +1 -0
  6. package/dist/lexicon/index.d.ts +20 -6
  7. package/dist/lexicon/lexicons.d.ts +449 -110
  8. package/dist/lexicon/types/app/bsky/actor/defs.d.ts +20 -0
  9. package/dist/lexicon/types/com/atproto/admin/defs.d.ts +9 -0
  10. package/dist/lexicon/types/com/atproto/admin/emitModerationEvent.d.ts +1 -1
  11. package/dist/lexicon/types/com/atproto/admin/queryModerationEvents.d.ts +2 -0
  12. package/dist/lexicon/types/com/atproto/admin/queryModerationStatuses.d.ts +2 -0
  13. package/dist/lexicon/types/com/atproto/identity/getRecommendedDidCredentials.d.ts +33 -0
  14. package/dist/lexicon/types/com/atproto/identity/requestPlcOperationSignature.d.ts +19 -0
  15. package/dist/lexicon/types/com/atproto/{temp/transferAccount.d.ts → identity/signPlcOperation.d.ts} +6 -8
  16. package/dist/lexicon/types/com/atproto/identity/submitPlcOperation.d.ts +25 -0
  17. package/dist/lexicon/types/com/atproto/{temp/pushBlob.d.ts → repo/importRepo.d.ts} +1 -2
  18. package/dist/lexicon/types/com/atproto/repo/listMissingBlobs.d.ts +41 -0
  19. package/dist/lexicon/types/com/atproto/server/activateAccount.d.ts +19 -0
  20. package/dist/lexicon/types/com/atproto/server/checkAccountStatus.d.ts +38 -0
  21. package/dist/lexicon/types/com/atproto/server/deactivateAccount.d.ts +25 -0
  22. package/dist/lexicon/types/com/atproto/server/describeServer.d.ts +1 -0
  23. package/dist/lexicon/types/com/atproto/{temp/importRepo.d.ts → server/getServiceAuth.d.ts} +8 -9
  24. package/dist/lexicon/types/com/atproto/sync/subscribeRepos.d.ts +9 -1
  25. package/dist/subscription/util.d.ts +1 -1
  26. package/package.json +5 -5
  27. package/src/indexer/subscription.ts +6 -0
  28. package/src/ingester/subscription.ts +2 -0
  29. package/src/lexicon/index.ts +124 -36
  30. package/src/lexicon/lexicons.ts +491 -138
  31. package/src/lexicon/types/app/bsky/actor/defs.ts +59 -0
  32. package/src/lexicon/types/app/bsky/feed/post.ts +1 -1
  33. package/src/lexicon/types/com/atproto/admin/defs.ts +24 -0
  34. package/src/lexicon/types/com/atproto/admin/emitModerationEvent.ts +1 -0
  35. package/src/lexicon/types/com/atproto/admin/queryModerationEvents.ts +4 -0
  36. package/src/lexicon/types/com/atproto/admin/queryModerationStatuses.ts +2 -0
  37. package/src/lexicon/types/com/atproto/identity/getRecommendedDidCredentials.ts +47 -0
  38. package/src/lexicon/types/com/atproto/identity/requestPlcOperationSignature.ts +31 -0
  39. package/src/lexicon/types/com/atproto/{temp/transferAccount.ts → identity/signPlcOperation.ts} +8 -15
  40. package/src/lexicon/types/com/atproto/identity/submitPlcOperation.ts +38 -0
  41. package/src/lexicon/types/com/atproto/{temp/pushBlob.ts → repo/importRepo.ts} +2 -5
  42. package/src/lexicon/types/com/atproto/repo/listMissingBlobs.ts +65 -0
  43. package/src/lexicon/types/com/atproto/server/activateAccount.ts +31 -0
  44. package/src/lexicon/types/com/atproto/server/checkAccountStatus.ts +51 -0
  45. package/src/lexicon/types/com/atproto/server/deactivateAccount.ts +39 -0
  46. package/src/lexicon/types/com/atproto/server/describeServer.ts +1 -0
  47. package/src/lexicon/types/com/atproto/{temp/importRepo.ts → server/getServiceAuth.ts} +10 -9
  48. package/src/lexicon/types/com/atproto/sync/subscribeRepos.ts +24 -3
  49. package/tests/auto-moderator/labeler.test.ts +4 -1
@@ -236,6 +236,12 @@ export declare const schemaDict: {
236
236
  type: string;
237
237
  format: string;
238
238
  };
239
+ tags: {
240
+ type: string;
241
+ items: {
242
+ type: string;
243
+ };
244
+ };
239
245
  };
240
246
  };
241
247
  reportViewDetail: {
@@ -779,6 +785,31 @@ export declare const schemaDict: {
779
785
  };
780
786
  };
781
787
  };
788
+ modEventTag: {
789
+ type: string;
790
+ description: string;
791
+ required: string[];
792
+ properties: {
793
+ add: {
794
+ type: string;
795
+ items: {
796
+ type: string;
797
+ };
798
+ description: string;
799
+ };
800
+ remove: {
801
+ type: string;
802
+ items: {
803
+ type: string;
804
+ };
805
+ description: string;
806
+ };
807
+ comment: {
808
+ type: string;
809
+ description: string;
810
+ };
811
+ };
812
+ };
782
813
  communicationTemplateView: {
783
814
  type: string;
784
815
  required: string[];
@@ -1343,6 +1374,20 @@ export declare const schemaDict: {
1343
1374
  };
1344
1375
  description: string;
1345
1376
  };
1377
+ addedTags: {
1378
+ type: string;
1379
+ items: {
1380
+ type: string;
1381
+ };
1382
+ description: string;
1383
+ };
1384
+ removedTags: {
1385
+ type: string;
1386
+ items: {
1387
+ type: string;
1388
+ };
1389
+ description: string;
1390
+ };
1346
1391
  reportTypes: {
1347
1392
  type: string;
1348
1393
  items: {
@@ -1458,6 +1503,18 @@ export declare const schemaDict: {
1458
1503
  maximum: number;
1459
1504
  default: number;
1460
1505
  };
1506
+ tags: {
1507
+ type: string;
1508
+ items: {
1509
+ type: string;
1510
+ };
1511
+ };
1512
+ excludeTags: {
1513
+ type: string;
1514
+ items: {
1515
+ type: string;
1516
+ };
1517
+ };
1461
1518
  cursor: {
1462
1519
  type: string;
1463
1520
  };
@@ -1732,6 +1789,53 @@ export declare const schemaDict: {
1732
1789
  };
1733
1790
  };
1734
1791
  };
1792
+ ComAtprotoIdentityGetRecommendedDidCredentials: {
1793
+ lexicon: number;
1794
+ id: string;
1795
+ defs: {
1796
+ main: {
1797
+ type: string;
1798
+ description: string;
1799
+ output: {
1800
+ encoding: string;
1801
+ schema: {
1802
+ type: string;
1803
+ properties: {
1804
+ rotationKeys: {
1805
+ description: string;
1806
+ type: string;
1807
+ items: {
1808
+ type: string;
1809
+ };
1810
+ };
1811
+ alsoKnownAs: {
1812
+ type: string;
1813
+ items: {
1814
+ type: string;
1815
+ };
1816
+ };
1817
+ verificationMethods: {
1818
+ type: string;
1819
+ };
1820
+ services: {
1821
+ type: string;
1822
+ };
1823
+ };
1824
+ };
1825
+ };
1826
+ };
1827
+ };
1828
+ };
1829
+ ComAtprotoIdentityRequestPlcOperationSignature: {
1830
+ lexicon: number;
1831
+ id: string;
1832
+ defs: {
1833
+ main: {
1834
+ type: string;
1835
+ description: string;
1836
+ };
1837
+ };
1838
+ };
1735
1839
  ComAtprotoIdentityResolveHandle: {
1736
1840
  lexicon: number;
1737
1841
  id: string;
@@ -1766,6 +1870,81 @@ export declare const schemaDict: {
1766
1870
  };
1767
1871
  };
1768
1872
  };
1873
+ ComAtprotoIdentitySignPlcOperation: {
1874
+ lexicon: number;
1875
+ id: string;
1876
+ defs: {
1877
+ main: {
1878
+ type: string;
1879
+ description: string;
1880
+ input: {
1881
+ encoding: string;
1882
+ schema: {
1883
+ type: string;
1884
+ properties: {
1885
+ token: {
1886
+ description: string;
1887
+ type: string;
1888
+ };
1889
+ rotationKeys: {
1890
+ type: string;
1891
+ items: {
1892
+ type: string;
1893
+ };
1894
+ };
1895
+ alsoKnownAs: {
1896
+ type: string;
1897
+ items: {
1898
+ type: string;
1899
+ };
1900
+ };
1901
+ verificationMethods: {
1902
+ type: string;
1903
+ };
1904
+ services: {
1905
+ type: string;
1906
+ };
1907
+ };
1908
+ };
1909
+ };
1910
+ output: {
1911
+ encoding: string;
1912
+ schema: {
1913
+ type: string;
1914
+ required: string[];
1915
+ properties: {
1916
+ operation: {
1917
+ type: string;
1918
+ description: string;
1919
+ };
1920
+ };
1921
+ };
1922
+ };
1923
+ };
1924
+ };
1925
+ };
1926
+ ComAtprotoIdentitySubmitPlcOperation: {
1927
+ lexicon: number;
1928
+ id: string;
1929
+ defs: {
1930
+ main: {
1931
+ type: string;
1932
+ description: string;
1933
+ input: {
1934
+ encoding: string;
1935
+ schema: {
1936
+ type: string;
1937
+ required: string[];
1938
+ properties: {
1939
+ operation: {
1940
+ type: string;
1941
+ };
1942
+ };
1943
+ };
1944
+ };
1945
+ };
1946
+ };
1947
+ };
1769
1948
  ComAtprotoIdentityUpdateHandle: {
1770
1949
  lexicon: number;
1771
1950
  id: string;
@@ -2397,6 +2576,76 @@ export declare const schemaDict: {
2397
2576
  };
2398
2577
  };
2399
2578
  };
2579
+ ComAtprotoRepoImportRepo: {
2580
+ lexicon: number;
2581
+ id: string;
2582
+ defs: {
2583
+ main: {
2584
+ type: string;
2585
+ description: string;
2586
+ input: {
2587
+ encoding: string;
2588
+ };
2589
+ };
2590
+ };
2591
+ };
2592
+ ComAtprotoRepoListMissingBlobs: {
2593
+ lexicon: number;
2594
+ id: string;
2595
+ defs: {
2596
+ main: {
2597
+ type: string;
2598
+ description: string;
2599
+ parameters: {
2600
+ type: string;
2601
+ properties: {
2602
+ limit: {
2603
+ type: string;
2604
+ minimum: number;
2605
+ maximum: number;
2606
+ default: number;
2607
+ };
2608
+ cursor: {
2609
+ type: string;
2610
+ };
2611
+ };
2612
+ };
2613
+ output: {
2614
+ encoding: string;
2615
+ schema: {
2616
+ type: string;
2617
+ required: string[];
2618
+ properties: {
2619
+ cursor: {
2620
+ type: string;
2621
+ };
2622
+ blobs: {
2623
+ type: string;
2624
+ items: {
2625
+ type: string;
2626
+ ref: string;
2627
+ };
2628
+ };
2629
+ };
2630
+ };
2631
+ };
2632
+ };
2633
+ recordBlob: {
2634
+ type: string;
2635
+ required: string[];
2636
+ properties: {
2637
+ cid: {
2638
+ type: string;
2639
+ format: string;
2640
+ };
2641
+ recordUri: {
2642
+ type: string;
2643
+ format: string;
2644
+ };
2645
+ };
2646
+ };
2647
+ };
2648
+ };
2400
2649
  ComAtprotoRepoListRecords: {
2401
2650
  lexicon: number;
2402
2651
  id: string;
@@ -2601,6 +2850,63 @@ export declare const schemaDict: {
2601
2850
  };
2602
2851
  };
2603
2852
  };
2853
+ ComAtprotoServerActivateAccount: {
2854
+ lexicon: number;
2855
+ id: string;
2856
+ defs: {
2857
+ main: {
2858
+ type: string;
2859
+ description: string;
2860
+ };
2861
+ };
2862
+ };
2863
+ ComAtprotoServerCheckAccountStatus: {
2864
+ lexicon: number;
2865
+ id: string;
2866
+ defs: {
2867
+ main: {
2868
+ type: string;
2869
+ description: string;
2870
+ output: {
2871
+ encoding: string;
2872
+ schema: {
2873
+ type: string;
2874
+ required: string[];
2875
+ properties: {
2876
+ activated: {
2877
+ type: string;
2878
+ };
2879
+ validDid: {
2880
+ type: string;
2881
+ };
2882
+ repoCommit: {
2883
+ type: string;
2884
+ format: string;
2885
+ };
2886
+ repoRev: {
2887
+ type: string;
2888
+ };
2889
+ repoBlocks: {
2890
+ type: string;
2891
+ };
2892
+ indexedRecords: {
2893
+ type: string;
2894
+ };
2895
+ privateStateValues: {
2896
+ type: string;
2897
+ };
2898
+ expectedBlobs: {
2899
+ type: string;
2900
+ };
2901
+ importedBlobs: {
2902
+ type: string;
2903
+ };
2904
+ };
2905
+ };
2906
+ };
2907
+ };
2908
+ };
2909
+ };
2604
2910
  ComAtprotoServerConfirmEmail: {
2605
2911
  lexicon: number;
2606
2912
  id: string;
@@ -2926,6 +3232,29 @@ export declare const schemaDict: {
2926
3232
  };
2927
3233
  };
2928
3234
  };
3235
+ ComAtprotoServerDeactivateAccount: {
3236
+ lexicon: number;
3237
+ id: string;
3238
+ defs: {
3239
+ main: {
3240
+ type: string;
3241
+ description: string;
3242
+ input: {
3243
+ encoding: string;
3244
+ schema: {
3245
+ type: string;
3246
+ properties: {
3247
+ deleteAfter: {
3248
+ type: string;
3249
+ format: string;
3250
+ description: string;
3251
+ };
3252
+ };
3253
+ };
3254
+ };
3255
+ };
3256
+ };
3257
+ };
2929
3258
  ComAtprotoServerDefs: {
2930
3259
  lexicon: number;
2931
3260
  id: string;
@@ -3053,6 +3382,10 @@ export declare const schemaDict: {
3053
3382
  description: string;
3054
3383
  ref: string;
3055
3384
  };
3385
+ did: {
3386
+ type: string;
3387
+ format: string;
3388
+ };
3056
3389
  };
3057
3390
  };
3058
3391
  };
@@ -3113,6 +3446,39 @@ export declare const schemaDict: {
3113
3446
  };
3114
3447
  };
3115
3448
  };
3449
+ ComAtprotoServerGetServiceAuth: {
3450
+ lexicon: number;
3451
+ id: string;
3452
+ defs: {
3453
+ main: {
3454
+ type: string;
3455
+ description: string;
3456
+ parameters: {
3457
+ type: string;
3458
+ required: string[];
3459
+ properties: {
3460
+ aud: {
3461
+ type: string;
3462
+ format: string;
3463
+ description: string;
3464
+ };
3465
+ };
3466
+ };
3467
+ output: {
3468
+ encoding: string;
3469
+ schema: {
3470
+ type: string;
3471
+ required: string[];
3472
+ properties: {
3473
+ token: {
3474
+ type: string;
3475
+ };
3476
+ };
3477
+ };
3478
+ };
3479
+ };
3480
+ };
3481
+ };
3116
3482
  ComAtprotoServerGetSession: {
3117
3483
  lexicon: number;
3118
3484
  id: string;
@@ -3892,6 +4258,24 @@ export declare const schemaDict: {
3892
4258
  };
3893
4259
  };
3894
4260
  };
4261
+ identity: {
4262
+ type: string;
4263
+ description: string;
4264
+ required: string[];
4265
+ properties: {
4266
+ seq: {
4267
+ type: string;
4268
+ };
4269
+ did: {
4270
+ type: string;
4271
+ format: string;
4272
+ };
4273
+ time: {
4274
+ type: string;
4275
+ format: string;
4276
+ };
4277
+ };
4278
+ };
3895
4279
  handle: {
3896
4280
  type: string;
3897
4281
  description: string;
@@ -4056,57 +4440,6 @@ export declare const schemaDict: {
4056
4440
  };
4057
4441
  };
4058
4442
  };
4059
- ComAtprotoTempImportRepo: {
4060
- lexicon: number;
4061
- id: string;
4062
- defs: {
4063
- main: {
4064
- type: string;
4065
- description: string;
4066
- parameters: {
4067
- type: string;
4068
- required: string[];
4069
- properties: {
4070
- did: {
4071
- type: string;
4072
- format: string;
4073
- description: string;
4074
- };
4075
- };
4076
- };
4077
- input: {
4078
- encoding: string;
4079
- };
4080
- output: {
4081
- encoding: string;
4082
- };
4083
- };
4084
- };
4085
- };
4086
- ComAtprotoTempPushBlob: {
4087
- lexicon: number;
4088
- id: string;
4089
- defs: {
4090
- main: {
4091
- type: string;
4092
- description: string;
4093
- parameters: {
4094
- type: string;
4095
- required: string[];
4096
- properties: {
4097
- did: {
4098
- type: string;
4099
- format: string;
4100
- description: string;
4101
- };
4102
- };
4103
- };
4104
- input: {
4105
- encoding: string;
4106
- };
4107
- };
4108
- };
4109
- };
4110
4443
  ComAtprotoTempRequestPhoneVerification: {
4111
4444
  lexicon: number;
4112
4445
  id: string;
@@ -4129,62 +4462,6 @@ export declare const schemaDict: {
4129
4462
  };
4130
4463
  };
4131
4464
  };
4132
- ComAtprotoTempTransferAccount: {
4133
- lexicon: number;
4134
- id: string;
4135
- defs: {
4136
- main: {
4137
- type: string;
4138
- description: string;
4139
- input: {
4140
- encoding: string;
4141
- schema: {
4142
- type: string;
4143
- required: string[];
4144
- properties: {
4145
- handle: {
4146
- type: string;
4147
- format: string;
4148
- };
4149
- did: {
4150
- type: string;
4151
- format: string;
4152
- };
4153
- plcOp: {
4154
- type: string;
4155
- };
4156
- };
4157
- };
4158
- };
4159
- output: {
4160
- encoding: string;
4161
- schema: {
4162
- type: string;
4163
- required: string[];
4164
- properties: {
4165
- accessJwt: {
4166
- type: string;
4167
- };
4168
- refreshJwt: {
4169
- type: string;
4170
- };
4171
- handle: {
4172
- type: string;
4173
- format: string;
4174
- };
4175
- did: {
4176
- type: string;
4177
- format: string;
4178
- };
4179
- };
4180
- };
4181
- };
4182
- errors: {
4183
- name: string;
4184
- }[];
4185
- };
4186
- };
4187
- };
4188
4465
  AppBskyActorDefs: {
4189
4466
  lexicon: number;
4190
4467
  id: string;
@@ -4473,6 +4750,61 @@ export declare const schemaDict: {
4473
4750
  };
4474
4751
  };
4475
4752
  };
4753
+ mutedWordTarget: {
4754
+ type: string;
4755
+ knownValues: string[];
4756
+ maxLength: number;
4757
+ maxGraphemes: number;
4758
+ };
4759
+ mutedWord: {
4760
+ type: string;
4761
+ description: string;
4762
+ required: string[];
4763
+ properties: {
4764
+ value: {
4765
+ type: string;
4766
+ description: string;
4767
+ maxLength: number;
4768
+ maxGraphemes: number;
4769
+ };
4770
+ targets: {
4771
+ type: string;
4772
+ description: string;
4773
+ items: {
4774
+ type: string;
4775
+ ref: string;
4776
+ };
4777
+ };
4778
+ };
4779
+ };
4780
+ mutedWordsPref: {
4781
+ type: string;
4782
+ required: string[];
4783
+ properties: {
4784
+ items: {
4785
+ type: string;
4786
+ items: {
4787
+ type: string;
4788
+ ref: string;
4789
+ };
4790
+ description: string;
4791
+ };
4792
+ };
4793
+ };
4794
+ hiddenPostsPref: {
4795
+ type: string;
4796
+ required: string[];
4797
+ properties: {
4798
+ items: {
4799
+ type: string;
4800
+ items: {
4801
+ type: string;
4802
+ format: string;
4803
+ };
4804
+ description: string;
4805
+ };
4806
+ };
4807
+ };
4476
4808
  };
4477
4809
  };
4478
4810
  AppBskyActorGetPreferences: {
@@ -7875,7 +8207,11 @@ export declare const ids: {
7875
8207
  ComAtprotoAdminUpdateAccountHandle: string;
7876
8208
  ComAtprotoAdminUpdateCommunicationTemplate: string;
7877
8209
  ComAtprotoAdminUpdateSubjectStatus: string;
8210
+ ComAtprotoIdentityGetRecommendedDidCredentials: string;
8211
+ ComAtprotoIdentityRequestPlcOperationSignature: string;
7878
8212
  ComAtprotoIdentityResolveHandle: string;
8213
+ ComAtprotoIdentitySignPlcOperation: string;
8214
+ ComAtprotoIdentitySubmitPlcOperation: string;
7879
8215
  ComAtprotoIdentityUpdateHandle: string;
7880
8216
  ComAtprotoLabelDefs: string;
7881
8217
  ComAtprotoLabelQueryLabels: string;
@@ -7887,21 +8223,27 @@ export declare const ids: {
7887
8223
  ComAtprotoRepoDeleteRecord: string;
7888
8224
  ComAtprotoRepoDescribeRepo: string;
7889
8225
  ComAtprotoRepoGetRecord: string;
8226
+ ComAtprotoRepoImportRepo: string;
8227
+ ComAtprotoRepoListMissingBlobs: string;
7890
8228
  ComAtprotoRepoListRecords: string;
7891
8229
  ComAtprotoRepoPutRecord: string;
7892
8230
  ComAtprotoRepoStrongRef: string;
7893
8231
  ComAtprotoRepoUploadBlob: string;
8232
+ ComAtprotoServerActivateAccount: string;
8233
+ ComAtprotoServerCheckAccountStatus: string;
7894
8234
  ComAtprotoServerConfirmEmail: string;
7895
8235
  ComAtprotoServerCreateAccount: string;
7896
8236
  ComAtprotoServerCreateAppPassword: string;
7897
8237
  ComAtprotoServerCreateInviteCode: string;
7898
8238
  ComAtprotoServerCreateInviteCodes: string;
7899
8239
  ComAtprotoServerCreateSession: string;
8240
+ ComAtprotoServerDeactivateAccount: string;
7900
8241
  ComAtprotoServerDefs: string;
7901
8242
  ComAtprotoServerDeleteAccount: string;
7902
8243
  ComAtprotoServerDeleteSession: string;
7903
8244
  ComAtprotoServerDescribeServer: string;
7904
8245
  ComAtprotoServerGetAccountInviteCodes: string;
8246
+ ComAtprotoServerGetServiceAuth: string;
7905
8247
  ComAtprotoServerGetSession: string;
7906
8248
  ComAtprotoServerListAppPasswords: string;
7907
8249
  ComAtprotoServerRefreshSession: string;
@@ -7927,10 +8269,7 @@ export declare const ids: {
7927
8269
  ComAtprotoSyncSubscribeRepos: string;
7928
8270
  ComAtprotoTempCheckSignupQueue: string;
7929
8271
  ComAtprotoTempFetchLabels: string;
7930
- ComAtprotoTempImportRepo: string;
7931
- ComAtprotoTempPushBlob: string;
7932
8272
  ComAtprotoTempRequestPhoneVerification: string;
7933
- ComAtprotoTempTransferAccount: string;
7934
8273
  AppBskyActorDefs: string;
7935
8274
  AppBskyActorGetPreferences: string;
7936
8275
  AppBskyActorGetProfile: string;
@@ -109,3 +109,23 @@ export interface InterestsPref {
109
109
  }
110
110
  export declare function isInterestsPref(v: unknown): v is InterestsPref;
111
111
  export declare function validateInterestsPref(v: unknown): ValidationResult;
112
+ export type MutedWordTarget = 'content' | 'tag' | (string & {});
113
+ export interface MutedWord {
114
+ value: string;
115
+ targets: MutedWordTarget[];
116
+ [k: string]: unknown;
117
+ }
118
+ export declare function isMutedWord(v: unknown): v is MutedWord;
119
+ export declare function validateMutedWord(v: unknown): ValidationResult;
120
+ export interface MutedWordsPref {
121
+ items: MutedWord[];
122
+ [k: string]: unknown;
123
+ }
124
+ export declare function isMutedWordsPref(v: unknown): v is MutedWordsPref;
125
+ export declare function validateMutedWordsPref(v: unknown): ValidationResult;
126
+ export interface HiddenPostsPref {
127
+ items: string[];
128
+ [k: string]: unknown;
129
+ }
130
+ export declare function isHiddenPostsPref(v: unknown): v is HiddenPostsPref;
131
+ export declare function validateHiddenPostsPref(v: unknown): ValidationResult;