@liase/core 1.0.0

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 (162) hide show
  1. package/LICENSE +9 -0
  2. package/README.md +62 -0
  3. package/dist/ActionContext.d.ts +603 -0
  4. package/dist/ActionContext.d.ts.map +1 -0
  5. package/dist/ActionContext.js +227 -0
  6. package/dist/DomSelection.d.ts +30 -0
  7. package/dist/DomSelection.d.ts.map +1 -0
  8. package/dist/DomSelection.js +60 -0
  9. package/dist/Liase.d.ts +40 -0
  10. package/dist/Liase.d.ts.map +1 -0
  11. package/dist/Liase.js +105 -0
  12. package/dist/LiaseQuery.d.ts +593 -0
  13. package/dist/LiaseQuery.d.ts.map +1 -0
  14. package/dist/LiaseQuery.js +145 -0
  15. package/dist/actionHelpers.d.ts +30 -0
  16. package/dist/actionHelpers.d.ts.map +1 -0
  17. package/dist/actionHelpers.js +73 -0
  18. package/dist/constructorExecution.d.ts +7 -0
  19. package/dist/constructorExecution.d.ts.map +1 -0
  20. package/dist/constructorExecution.js +149 -0
  21. package/dist/generateResponse.d.ts +14 -0
  22. package/dist/generateResponse.d.ts.map +1 -0
  23. package/dist/generateResponse.js +88 -0
  24. package/dist/index.d.ts +13 -0
  25. package/dist/index.d.ts.map +1 -0
  26. package/dist/index.js +6 -0
  27. package/dist/lib/fetch.d.ts +10 -0
  28. package/dist/lib/fetch.d.ts.map +1 -0
  29. package/dist/lib/fetch.js +68 -0
  30. package/dist/lib/hooks.d.ts +7 -0
  31. package/dist/lib/hooks.d.ts.map +1 -0
  32. package/dist/lib/hooks.js +13 -0
  33. package/dist/lib/networkRequestsCache.d.ts +23 -0
  34. package/dist/lib/networkRequestsCache.d.ts.map +1 -0
  35. package/dist/lib/networkRequestsCache.js +81 -0
  36. package/dist/lib/networkRequestsHistory.d.ts +21 -0
  37. package/dist/lib/networkRequestsHistory.d.ts.map +1 -0
  38. package/dist/lib/networkRequestsHistory.js +119 -0
  39. package/dist/lib/time.d.ts +2 -0
  40. package/dist/lib/time.d.ts.map +1 -0
  41. package/dist/lib/time.js +31 -0
  42. package/dist/lib/utils.d.ts +46 -0
  43. package/dist/lib/utils.d.ts.map +1 -0
  44. package/dist/lib/utils.js +208 -0
  45. package/dist/lib/zod.d.ts +35 -0
  46. package/dist/lib/zod.d.ts.map +1 -0
  47. package/dist/lib/zod.js +290 -0
  48. package/dist/loadUrl.d.ts +45 -0
  49. package/dist/loadUrl.d.ts.map +1 -0
  50. package/dist/loadUrl.js +111 -0
  51. package/dist/plugins/built-in-sources/bluesky/client.d.ts +11 -0
  52. package/dist/plugins/built-in-sources/bluesky/client.d.ts.map +1 -0
  53. package/dist/plugins/built-in-sources/bluesky/client.js +17 -0
  54. package/dist/plugins/built-in-sources/bluesky/index.d.ts +1115 -0
  55. package/dist/plugins/built-in-sources/bluesky/index.d.ts.map +1 -0
  56. package/dist/plugins/built-in-sources/bluesky/index.js +14 -0
  57. package/dist/plugins/built-in-sources/bluesky/requestHandlers/feed.d.ts +378 -0
  58. package/dist/plugins/built-in-sources/bluesky/requestHandlers/feed.d.ts.map +1 -0
  59. package/dist/plugins/built-in-sources/bluesky/requestHandlers/feed.js +77 -0
  60. package/dist/plugins/built-in-sources/bluesky/requestHandlers/mediaSearch.d.ts +390 -0
  61. package/dist/plugins/built-in-sources/bluesky/requestHandlers/mediaSearch.d.ts.map +1 -0
  62. package/dist/plugins/built-in-sources/bluesky/requestHandlers/mediaSearch.js +87 -0
  63. package/dist/plugins/built-in-sources/bluesky/requestHandlers/singleMedia.d.ts +351 -0
  64. package/dist/plugins/built-in-sources/bluesky/requestHandlers/singleMedia.d.ts.map +1 -0
  65. package/dist/plugins/built-in-sources/bluesky/requestHandlers/singleMedia.js +56 -0
  66. package/dist/plugins/built-in-sources/bluesky/shared.d.ts +53 -0
  67. package/dist/plugins/built-in-sources/bluesky/shared.d.ts.map +1 -0
  68. package/dist/plugins/built-in-sources/bluesky/shared.js +127 -0
  69. package/dist/plugins/built-in-sources/bluesky/types.d.ts +488 -0
  70. package/dist/plugins/built-in-sources/bluesky/types.d.ts.map +1 -0
  71. package/dist/plugins/built-in-sources/bluesky/types.js +48 -0
  72. package/dist/plugins/built-in-sources/giphy/index.d.ts +584 -0
  73. package/dist/plugins/built-in-sources/giphy/index.d.ts.map +1 -0
  74. package/dist/plugins/built-in-sources/giphy/index.js +9 -0
  75. package/dist/plugins/built-in-sources/giphy/requestHandlers/mediaSearch.d.ts +310 -0
  76. package/dist/plugins/built-in-sources/giphy/requestHandlers/mediaSearch.d.ts.map +1 -0
  77. package/dist/plugins/built-in-sources/giphy/requestHandlers/mediaSearch.js +71 -0
  78. package/dist/plugins/built-in-sources/giphy/requestHandlers/singleMedia.d.ts +274 -0
  79. package/dist/plugins/built-in-sources/giphy/requestHandlers/singleMedia.d.ts.map +1 -0
  80. package/dist/plugins/built-in-sources/giphy/requestHandlers/singleMedia.js +43 -0
  81. package/dist/plugins/built-in-sources/giphy/shared.d.ts +24 -0
  82. package/dist/plugins/built-in-sources/giphy/shared.d.ts.map +1 -0
  83. package/dist/plugins/built-in-sources/giphy/shared.js +30 -0
  84. package/dist/plugins/built-in-sources/giphy/types.d.ts +398 -0
  85. package/dist/plugins/built-in-sources/giphy/types.d.ts.map +1 -0
  86. package/dist/plugins/built-in-sources/giphy/types.js +46 -0
  87. package/dist/plugins/built-in-sources/index.d.ts +1698 -0
  88. package/dist/plugins/built-in-sources/index.d.ts.map +1 -0
  89. package/dist/plugins/built-in-sources/index.js +5 -0
  90. package/dist/schemas/constructor.d.ts +14 -0
  91. package/dist/schemas/constructor.d.ts.map +1 -0
  92. package/dist/schemas/constructor.js +33 -0
  93. package/dist/schemas/file.d.ts +124 -0
  94. package/dist/schemas/file.d.ts.map +1 -0
  95. package/dist/schemas/file.js +28 -0
  96. package/dist/schemas/finderOptions.d.ts +389 -0
  97. package/dist/schemas/finderOptions.d.ts.map +1 -0
  98. package/dist/schemas/finderOptions.js +7 -0
  99. package/dist/schemas/media.d.ts +433 -0
  100. package/dist/schemas/media.d.ts.map +1 -0
  101. package/dist/schemas/media.js +81 -0
  102. package/dist/schemas/plugin.d.ts +298 -0
  103. package/dist/schemas/plugin.d.ts.map +1 -0
  104. package/dist/schemas/plugin.js +19 -0
  105. package/dist/schemas/primitives.d.ts +4 -0
  106. package/dist/schemas/primitives.d.ts.map +1 -0
  107. package/dist/schemas/primitives.js +11 -0
  108. package/dist/schemas/queryOptions.d.ts +19 -0
  109. package/dist/schemas/queryOptions.d.ts.map +1 -0
  110. package/dist/schemas/queryOptions.js +9 -0
  111. package/dist/schemas/request.d.ts +77 -0
  112. package/dist/schemas/request.d.ts.map +1 -0
  113. package/dist/schemas/request.js +21 -0
  114. package/dist/schemas/requestHandler.d.ts +126 -0
  115. package/dist/schemas/requestHandler.d.ts.map +1 -0
  116. package/dist/schemas/requestHandler.js +26 -0
  117. package/dist/schemas/response.d.ts +4673 -0
  118. package/dist/schemas/response.d.ts.map +1 -0
  119. package/dist/schemas/response.js +51 -0
  120. package/dist/schemas/secrets.d.ts +4 -0
  121. package/dist/schemas/secrets.d.ts.map +1 -0
  122. package/dist/schemas/secrets.js +2 -0
  123. package/dist/schemas/source.d.ts +202 -0
  124. package/dist/schemas/source.d.ts.map +1 -0
  125. package/dist/schemas/source.js +10 -0
  126. package/dist/test/fixtures/currentTimeSource.d.ts +53 -0
  127. package/dist/test/fixtures/currentTimeSource.d.ts.map +1 -0
  128. package/dist/test/fixtures/currentTimeSource.js +76 -0
  129. package/dist/test/fixtures/examplePlugin.d.ts +266 -0
  130. package/dist/test/fixtures/examplePlugin.d.ts.map +1 -0
  131. package/dist/test/fixtures/examplePlugin.js +4 -0
  132. package/dist/test/fixtures/exampleSource.d.ts +265 -0
  133. package/dist/test/fixtures/exampleSource.d.ts.map +1 -0
  134. package/dist/test/fixtures/exampleSource.js +107 -0
  135. package/dist/test/testFiles/internal/caching.test.d.ts +2 -0
  136. package/dist/test/testFiles/internal/caching.test.d.ts.map +1 -0
  137. package/dist/test/testFiles/internal/caching.test.js +116 -0
  138. package/dist/test/testFiles/internal/mediaTypeGuessing.test.d.ts +2 -0
  139. package/dist/test/testFiles/internal/mediaTypeGuessing.test.d.ts.map +1 -0
  140. package/dist/test/testFiles/internal/mediaTypeGuessing.test.js +86 -0
  141. package/dist/test/testFiles/sources/bluesky.test.d.ts +2 -0
  142. package/dist/test/testFiles/sources/bluesky.test.d.ts.map +1 -0
  143. package/dist/test/testFiles/sources/bluesky.test.js +40 -0
  144. package/dist/test/testFiles/sources/exampleSource.test.d.ts +2 -0
  145. package/dist/test/testFiles/sources/exampleSource.test.d.ts.map +1 -0
  146. package/dist/test/testFiles/sources/exampleSource.test.js +27 -0
  147. package/dist/test/testFiles/sources/giphy.test.d.ts +2 -0
  148. package/dist/test/testFiles/sources/giphy.test.d.ts.map +1 -0
  149. package/dist/test/testFiles/sources/giphy.test.js +17 -0
  150. package/dist/test/utils/general.d.ts +3 -0
  151. package/dist/test/utils/general.d.ts.map +1 -0
  152. package/dist/test/utils/general.js +24 -0
  153. package/dist/test/utils/globalSetup.d.ts +3 -0
  154. package/dist/test/utils/globalSetup.d.ts.map +1 -0
  155. package/dist/test/utils/globalSetup.js +12 -0
  156. package/dist/test/utils/vitest.d.ts +551 -0
  157. package/dist/test/utils/vitest.d.ts.map +1 -0
  158. package/dist/test/utils/vitest.js +166 -0
  159. package/dist/types.d.ts +16 -0
  160. package/dist/types.d.ts.map +1 -0
  161. package/dist/types.js +1 -0
  162. package/package.json +67 -0
@@ -0,0 +1,1115 @@
1
+ declare const _default: {
2
+ id: string;
3
+ displayName: string;
4
+ description: string;
5
+ requestHandlers: ({
6
+ readonly id: "single-media";
7
+ readonly displayName: "Single media";
8
+ readonly description: "Find a specific media included in a post";
9
+ readonly requestSchema: import("zod").ZodObject<{
10
+ source: import("zod").ZodString;
11
+ queryType: import("zod").ZodString;
12
+ id: import("zod").ZodString;
13
+ }, "strict", import("zod").ZodTypeAny, {
14
+ source: string;
15
+ queryType: string;
16
+ id: string;
17
+ }, {
18
+ source: string;
19
+ queryType: string;
20
+ id: string;
21
+ }>;
22
+ readonly secretsSchema: import("zod").ZodObject<{
23
+ handle: import("zod").ZodOptional<import("zod").ZodString>;
24
+ password: import("zod").ZodOptional<import("zod").ZodString>;
25
+ serviceUrl: import("zod").ZodOptional<import("zod").ZodString>;
26
+ }, "strict", import("zod").ZodTypeAny, {
27
+ password?: string | undefined;
28
+ handle?: string | undefined;
29
+ serviceUrl?: string | undefined;
30
+ }, {
31
+ password?: string | undefined;
32
+ handle?: string | undefined;
33
+ serviceUrl?: string | undefined;
34
+ }>;
35
+ readonly paginationType: "none";
36
+ readonly responses: [{
37
+ readonly schema: import("zod").ZodObject<Omit<{
38
+ page: import("zod").ZodObject<{
39
+ paginationType: import("zod").ZodLiteral<"cursor">;
40
+ cursor: import("zod").ZodOptional<import("zod").ZodString>;
41
+ nextCursor: import("zod").ZodNullable<import("zod").ZodString>;
42
+ isLastPage: import("zod").ZodBoolean;
43
+ pageFetchLimitReached: import("zod").ZodBoolean;
44
+ }, "strict", import("zod").ZodTypeAny, {
45
+ paginationType: "cursor";
46
+ isLastPage: boolean;
47
+ pageFetchLimitReached: boolean;
48
+ nextCursor: string | null;
49
+ cursor?: string | undefined;
50
+ }, {
51
+ paginationType: "cursor";
52
+ isLastPage: boolean;
53
+ pageFetchLimitReached: boolean;
54
+ nextCursor: string | null;
55
+ cursor?: string | undefined;
56
+ }>;
57
+ media: import("zod").ZodArray<import("zod").ZodObject<{
58
+ mediaFinderSource: import("zod").ZodLiteral<"bluesky">;
59
+ id: import("zod").ZodString;
60
+ title: import("zod").ZodString;
61
+ url: import("zod").ZodString;
62
+ dateUploaded: import("zod").ZodDate;
63
+ usernameOfUploader: import("zod").ZodString;
64
+ nameOfUploader: import("zod").ZodString;
65
+ files: import("zod").ZodTuple<[import("zod").ZodObject<{
66
+ url: import("zod").ZodString;
67
+ ext: import("zod").ZodString;
68
+ mimeType: import("zod").ZodString;
69
+ image: import("zod").ZodBoolean;
70
+ video: import("zod").ZodBoolean;
71
+ fileSize: import("zod").ZodOptional<import("zod").ZodNumber>;
72
+ aspectRatio: import("zod").ZodOptional<import("zod").ZodObject<{
73
+ height: import("zod").ZodNumber;
74
+ width: import("zod").ZodNumber;
75
+ }, "strict", import("zod").ZodTypeAny, {
76
+ width: number;
77
+ height: number;
78
+ }, {
79
+ width: number;
80
+ height: number;
81
+ }>>;
82
+ } & {
83
+ type: import("zod").ZodLiteral<"full">;
84
+ }, "strict", import("zod").ZodTypeAny, {
85
+ mimeType: string;
86
+ ext: string;
87
+ video: boolean;
88
+ image: boolean;
89
+ url: string;
90
+ type: "full";
91
+ fileSize?: number | undefined;
92
+ aspectRatio?: {
93
+ width: number;
94
+ height: number;
95
+ } | undefined;
96
+ }, {
97
+ mimeType: string;
98
+ ext: string;
99
+ video: boolean;
100
+ image: boolean;
101
+ url: string;
102
+ type: "full";
103
+ fileSize?: number | undefined;
104
+ aspectRatio?: {
105
+ width: number;
106
+ height: number;
107
+ } | undefined;
108
+ }>, import("zod").ZodObject<{
109
+ url: import("zod").ZodString;
110
+ ext: import("zod").ZodString;
111
+ mimeType: import("zod").ZodString;
112
+ image: import("zod").ZodBoolean;
113
+ video: import("zod").ZodBoolean;
114
+ fileSize: import("zod").ZodOptional<import("zod").ZodNumber>;
115
+ aspectRatio: import("zod").ZodOptional<import("zod").ZodObject<{
116
+ height: import("zod").ZodNumber;
117
+ width: import("zod").ZodNumber;
118
+ }, "strict", import("zod").ZodTypeAny, {
119
+ width: number;
120
+ height: number;
121
+ }, {
122
+ width: number;
123
+ height: number;
124
+ }>>;
125
+ } & {
126
+ type: import("zod").ZodLiteral<"thumbnail">;
127
+ }, "strict", import("zod").ZodTypeAny, {
128
+ mimeType: string;
129
+ ext: string;
130
+ video: boolean;
131
+ image: boolean;
132
+ url: string;
133
+ type: "thumbnail";
134
+ fileSize?: number | undefined;
135
+ aspectRatio?: {
136
+ width: number;
137
+ height: number;
138
+ } | undefined;
139
+ }, {
140
+ mimeType: string;
141
+ ext: string;
142
+ video: boolean;
143
+ image: boolean;
144
+ url: string;
145
+ type: "thumbnail";
146
+ fileSize?: number | undefined;
147
+ aspectRatio?: {
148
+ width: number;
149
+ height: number;
150
+ } | undefined;
151
+ }>], null>;
152
+ contentHash: import("zod").ZodString;
153
+ }, "strict", import("zod").ZodTypeAny, {
154
+ url: string;
155
+ id: string;
156
+ contentHash: string;
157
+ mediaFinderSource: "bluesky";
158
+ files: [{
159
+ mimeType: string;
160
+ ext: string;
161
+ video: boolean;
162
+ image: boolean;
163
+ url: string;
164
+ type: "full";
165
+ fileSize?: number | undefined;
166
+ aspectRatio?: {
167
+ width: number;
168
+ height: number;
169
+ } | undefined;
170
+ }, {
171
+ mimeType: string;
172
+ ext: string;
173
+ video: boolean;
174
+ image: boolean;
175
+ url: string;
176
+ type: "thumbnail";
177
+ fileSize?: number | undefined;
178
+ aspectRatio?: {
179
+ width: number;
180
+ height: number;
181
+ } | undefined;
182
+ }];
183
+ nameOfUploader: string;
184
+ usernameOfUploader: string;
185
+ title: string;
186
+ dateUploaded: Date;
187
+ }, {
188
+ url: string;
189
+ id: string;
190
+ contentHash: string;
191
+ mediaFinderSource: "bluesky";
192
+ files: [{
193
+ mimeType: string;
194
+ ext: string;
195
+ video: boolean;
196
+ image: boolean;
197
+ url: string;
198
+ type: "full";
199
+ fileSize?: number | undefined;
200
+ aspectRatio?: {
201
+ width: number;
202
+ height: number;
203
+ } | undefined;
204
+ }, {
205
+ mimeType: string;
206
+ ext: string;
207
+ video: boolean;
208
+ image: boolean;
209
+ url: string;
210
+ type: "thumbnail";
211
+ fileSize?: number | undefined;
212
+ aspectRatio?: {
213
+ width: number;
214
+ height: number;
215
+ } | undefined;
216
+ }];
217
+ nameOfUploader: string;
218
+ usernameOfUploader: string;
219
+ title: string;
220
+ dateUploaded: Date;
221
+ }>, "many">;
222
+ request: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>;
223
+ }, "page">, "strict", import("zod").ZodTypeAny, {
224
+ media: {
225
+ url: string;
226
+ id: string;
227
+ contentHash: string;
228
+ mediaFinderSource: "bluesky";
229
+ files: [{
230
+ mimeType: string;
231
+ ext: string;
232
+ video: boolean;
233
+ image: boolean;
234
+ url: string;
235
+ type: "full";
236
+ fileSize?: number | undefined;
237
+ aspectRatio?: {
238
+ width: number;
239
+ height: number;
240
+ } | undefined;
241
+ }, {
242
+ mimeType: string;
243
+ ext: string;
244
+ video: boolean;
245
+ image: boolean;
246
+ url: string;
247
+ type: "thumbnail";
248
+ fileSize?: number | undefined;
249
+ aspectRatio?: {
250
+ width: number;
251
+ height: number;
252
+ } | undefined;
253
+ }];
254
+ nameOfUploader: string;
255
+ usernameOfUploader: string;
256
+ title: string;
257
+ dateUploaded: Date;
258
+ }[];
259
+ request: Record<string, unknown>;
260
+ }, {
261
+ media: {
262
+ url: string;
263
+ id: string;
264
+ contentHash: string;
265
+ mediaFinderSource: "bluesky";
266
+ files: [{
267
+ mimeType: string;
268
+ ext: string;
269
+ video: boolean;
270
+ image: boolean;
271
+ url: string;
272
+ type: "full";
273
+ fileSize?: number | undefined;
274
+ aspectRatio?: {
275
+ width: number;
276
+ height: number;
277
+ } | undefined;
278
+ }, {
279
+ mimeType: string;
280
+ ext: string;
281
+ video: boolean;
282
+ image: boolean;
283
+ url: string;
284
+ type: "thumbnail";
285
+ fileSize?: number | undefined;
286
+ aspectRatio?: {
287
+ width: number;
288
+ height: number;
289
+ } | undefined;
290
+ }];
291
+ nameOfUploader: string;
292
+ usernameOfUploader: string;
293
+ title: string;
294
+ dateUploaded: Date;
295
+ }[];
296
+ request: Record<string, unknown>;
297
+ }>;
298
+ readonly constructor: {
299
+ readonly _setup: ($: import("../../../ActionContext.js").ActionContext) => Promise<import("@atproto/api/dist/client/types/app/bsky/feed/getPosts.js").OutputSchema>;
300
+ readonly media: {
301
+ _arrayMap: ($: import("../../../ActionContext.js").ActionContext) => {
302
+ id: string;
303
+ postCid: string;
304
+ postUri: string;
305
+ postUrl: string;
306
+ postTextContents: string;
307
+ fileCid: string;
308
+ altText: string;
309
+ mimeType: string;
310
+ filesize: number;
311
+ playlistUrl?: string;
312
+ thumbnailUrl: string;
313
+ fullsizeUrl?: string;
314
+ aspectRatio: {
315
+ width: number;
316
+ height: number;
317
+ };
318
+ author: {
319
+ did: string;
320
+ handle: string;
321
+ displayName: string;
322
+ avatarUrl: string;
323
+ createdAt: string;
324
+ };
325
+ languages: string[];
326
+ createdAt: string;
327
+ }[];
328
+ mediaFinderSource: string;
329
+ id: ($: import("../../../ActionContext.js").ActionContext) => any;
330
+ contentHash: ($: import("../../../ActionContext.js").ActionContext) => any;
331
+ title: ($: import("../../../ActionContext.js").ActionContext) => any;
332
+ url: ($: import("../../../ActionContext.js").ActionContext) => any;
333
+ dateUploaded: ($: import("../../../ActionContext.js").ActionContext) => Date;
334
+ usernameOfUploader: ($: import("../../../ActionContext.js").ActionContext) => any;
335
+ nameOfUploader: ($: import("../../../ActionContext.js").ActionContext) => any;
336
+ files: {
337
+ _arrayMap: ($: import("../../../ActionContext.js").ActionContext) => any[];
338
+ _setup: ($: import("../../../ActionContext.js").ActionContext) => import("../../../ActionContext.js").ActionContext;
339
+ type: ($: import("../../../ActionContext.js").ActionContext) => any;
340
+ url: ($: import("../../../ActionContext.js").ActionContext) => any;
341
+ ext: ($: import("../../../ActionContext.js").ActionContext) => any;
342
+ mimeType: ($: import("../../../ActionContext.js").ActionContext) => any;
343
+ image: ($: import("../../../ActionContext.js").ActionContext) => any;
344
+ video: ($: import("../../../ActionContext.js").ActionContext) => any;
345
+ fileSize: ($: import("../../../ActionContext.js").ActionContext) => any;
346
+ aspectRatio: ($: import("../../../ActionContext.js").ActionContext) => any;
347
+ }[];
348
+ }[];
349
+ readonly request: ($: import("../../../ActionContext.js").ActionContext) => Record<string, any>;
350
+ };
351
+ }];
352
+ } | {
353
+ readonly id: "search";
354
+ readonly displayName: "Search";
355
+ readonly description: "Search network for media";
356
+ readonly requestSchema: import("zod").ZodObject<{
357
+ source: import("zod").ZodString;
358
+ queryType: import("zod").ZodString;
359
+ sort: import("zod").ZodOptional<import("zod").ZodEnum<["latest", "top"]>>;
360
+ searchText: import("zod").ZodDefault<import("zod").ZodString>;
361
+ tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
362
+ since: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodDate, import("zod").ZodString]>>;
363
+ until: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodDate, import("zod").ZodString]>>;
364
+ cursor: import("zod").ZodOptional<import("zod").ZodString>;
365
+ maxPostCount: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
366
+ }, "strict", import("zod").ZodTypeAny, {
367
+ source: string;
368
+ queryType: string;
369
+ maxPostCount: number;
370
+ searchText: string;
371
+ sort?: "latest" | "top" | undefined;
372
+ cursor?: string | undefined;
373
+ tags?: string[] | undefined;
374
+ since?: string | Date | undefined;
375
+ until?: string | Date | undefined;
376
+ }, {
377
+ source: string;
378
+ queryType: string;
379
+ sort?: "latest" | "top" | undefined;
380
+ cursor?: string | undefined;
381
+ tags?: string[] | undefined;
382
+ maxPostCount?: number | undefined;
383
+ searchText?: string | undefined;
384
+ since?: string | Date | undefined;
385
+ until?: string | Date | undefined;
386
+ }>;
387
+ readonly secretsSchema: import("zod").ZodObject<{
388
+ handle: import("zod").ZodOptional<import("zod").ZodString>;
389
+ password: import("zod").ZodOptional<import("zod").ZodString>;
390
+ serviceUrl: import("zod").ZodOptional<import("zod").ZodString>;
391
+ }, "strict", import("zod").ZodTypeAny, {
392
+ password?: string | undefined;
393
+ handle?: string | undefined;
394
+ serviceUrl?: string | undefined;
395
+ }, {
396
+ password?: string | undefined;
397
+ handle?: string | undefined;
398
+ serviceUrl?: string | undefined;
399
+ }>;
400
+ readonly paginationType: "cursor";
401
+ readonly responses: [{
402
+ readonly schema: import("zod").ZodObject<{
403
+ page: import("zod").ZodObject<{
404
+ paginationType: import("zod").ZodLiteral<"cursor">;
405
+ cursor: import("zod").ZodOptional<import("zod").ZodString>;
406
+ nextCursor: import("zod").ZodNullable<import("zod").ZodString>;
407
+ isLastPage: import("zod").ZodBoolean;
408
+ pageFetchLimitReached: import("zod").ZodBoolean;
409
+ }, "strict", import("zod").ZodTypeAny, {
410
+ paginationType: "cursor";
411
+ isLastPage: boolean;
412
+ pageFetchLimitReached: boolean;
413
+ nextCursor: string | null;
414
+ cursor?: string | undefined;
415
+ }, {
416
+ paginationType: "cursor";
417
+ isLastPage: boolean;
418
+ pageFetchLimitReached: boolean;
419
+ nextCursor: string | null;
420
+ cursor?: string | undefined;
421
+ }>;
422
+ media: import("zod").ZodArray<import("zod").ZodObject<{
423
+ mediaFinderSource: import("zod").ZodLiteral<"bluesky">;
424
+ id: import("zod").ZodString;
425
+ title: import("zod").ZodString;
426
+ url: import("zod").ZodString;
427
+ dateUploaded: import("zod").ZodDate;
428
+ usernameOfUploader: import("zod").ZodString;
429
+ nameOfUploader: import("zod").ZodString;
430
+ files: import("zod").ZodTuple<[import("zod").ZodObject<{
431
+ url: import("zod").ZodString;
432
+ ext: import("zod").ZodString;
433
+ mimeType: import("zod").ZodString;
434
+ image: import("zod").ZodBoolean;
435
+ video: import("zod").ZodBoolean;
436
+ fileSize: import("zod").ZodOptional<import("zod").ZodNumber>;
437
+ aspectRatio: import("zod").ZodOptional<import("zod").ZodObject<{
438
+ height: import("zod").ZodNumber;
439
+ width: import("zod").ZodNumber;
440
+ }, "strict", import("zod").ZodTypeAny, {
441
+ width: number;
442
+ height: number;
443
+ }, {
444
+ width: number;
445
+ height: number;
446
+ }>>;
447
+ } & {
448
+ type: import("zod").ZodLiteral<"full">;
449
+ }, "strict", import("zod").ZodTypeAny, {
450
+ mimeType: string;
451
+ ext: string;
452
+ video: boolean;
453
+ image: boolean;
454
+ url: string;
455
+ type: "full";
456
+ fileSize?: number | undefined;
457
+ aspectRatio?: {
458
+ width: number;
459
+ height: number;
460
+ } | undefined;
461
+ }, {
462
+ mimeType: string;
463
+ ext: string;
464
+ video: boolean;
465
+ image: boolean;
466
+ url: string;
467
+ type: "full";
468
+ fileSize?: number | undefined;
469
+ aspectRatio?: {
470
+ width: number;
471
+ height: number;
472
+ } | undefined;
473
+ }>, import("zod").ZodObject<{
474
+ url: import("zod").ZodString;
475
+ ext: import("zod").ZodString;
476
+ mimeType: import("zod").ZodString;
477
+ image: import("zod").ZodBoolean;
478
+ video: import("zod").ZodBoolean;
479
+ fileSize: import("zod").ZodOptional<import("zod").ZodNumber>;
480
+ aspectRatio: import("zod").ZodOptional<import("zod").ZodObject<{
481
+ height: import("zod").ZodNumber;
482
+ width: import("zod").ZodNumber;
483
+ }, "strict", import("zod").ZodTypeAny, {
484
+ width: number;
485
+ height: number;
486
+ }, {
487
+ width: number;
488
+ height: number;
489
+ }>>;
490
+ } & {
491
+ type: import("zod").ZodLiteral<"thumbnail">;
492
+ }, "strict", import("zod").ZodTypeAny, {
493
+ mimeType: string;
494
+ ext: string;
495
+ video: boolean;
496
+ image: boolean;
497
+ url: string;
498
+ type: "thumbnail";
499
+ fileSize?: number | undefined;
500
+ aspectRatio?: {
501
+ width: number;
502
+ height: number;
503
+ } | undefined;
504
+ }, {
505
+ mimeType: string;
506
+ ext: string;
507
+ video: boolean;
508
+ image: boolean;
509
+ url: string;
510
+ type: "thumbnail";
511
+ fileSize?: number | undefined;
512
+ aspectRatio?: {
513
+ width: number;
514
+ height: number;
515
+ } | undefined;
516
+ }>], null>;
517
+ contentHash: import("zod").ZodString;
518
+ }, "strict", import("zod").ZodTypeAny, {
519
+ url: string;
520
+ id: string;
521
+ contentHash: string;
522
+ mediaFinderSource: "bluesky";
523
+ files: [{
524
+ mimeType: string;
525
+ ext: string;
526
+ video: boolean;
527
+ image: boolean;
528
+ url: string;
529
+ type: "full";
530
+ fileSize?: number | undefined;
531
+ aspectRatio?: {
532
+ width: number;
533
+ height: number;
534
+ } | undefined;
535
+ }, {
536
+ mimeType: string;
537
+ ext: string;
538
+ video: boolean;
539
+ image: boolean;
540
+ url: string;
541
+ type: "thumbnail";
542
+ fileSize?: number | undefined;
543
+ aspectRatio?: {
544
+ width: number;
545
+ height: number;
546
+ } | undefined;
547
+ }];
548
+ nameOfUploader: string;
549
+ usernameOfUploader: string;
550
+ title: string;
551
+ dateUploaded: Date;
552
+ }, {
553
+ url: string;
554
+ id: string;
555
+ contentHash: string;
556
+ mediaFinderSource: "bluesky";
557
+ files: [{
558
+ mimeType: string;
559
+ ext: string;
560
+ video: boolean;
561
+ image: boolean;
562
+ url: string;
563
+ type: "full";
564
+ fileSize?: number | undefined;
565
+ aspectRatio?: {
566
+ width: number;
567
+ height: number;
568
+ } | undefined;
569
+ }, {
570
+ mimeType: string;
571
+ ext: string;
572
+ video: boolean;
573
+ image: boolean;
574
+ url: string;
575
+ type: "thumbnail";
576
+ fileSize?: number | undefined;
577
+ aspectRatio?: {
578
+ width: number;
579
+ height: number;
580
+ } | undefined;
581
+ }];
582
+ nameOfUploader: string;
583
+ usernameOfUploader: string;
584
+ title: string;
585
+ dateUploaded: Date;
586
+ }>, "many">;
587
+ request: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>;
588
+ }, "strict", import("zod").ZodTypeAny, {
589
+ page: {
590
+ paginationType: "cursor";
591
+ isLastPage: boolean;
592
+ pageFetchLimitReached: boolean;
593
+ nextCursor: string | null;
594
+ cursor?: string | undefined;
595
+ };
596
+ media: {
597
+ url: string;
598
+ id: string;
599
+ contentHash: string;
600
+ mediaFinderSource: "bluesky";
601
+ files: [{
602
+ mimeType: string;
603
+ ext: string;
604
+ video: boolean;
605
+ image: boolean;
606
+ url: string;
607
+ type: "full";
608
+ fileSize?: number | undefined;
609
+ aspectRatio?: {
610
+ width: number;
611
+ height: number;
612
+ } | undefined;
613
+ }, {
614
+ mimeType: string;
615
+ ext: string;
616
+ video: boolean;
617
+ image: boolean;
618
+ url: string;
619
+ type: "thumbnail";
620
+ fileSize?: number | undefined;
621
+ aspectRatio?: {
622
+ width: number;
623
+ height: number;
624
+ } | undefined;
625
+ }];
626
+ nameOfUploader: string;
627
+ usernameOfUploader: string;
628
+ title: string;
629
+ dateUploaded: Date;
630
+ }[];
631
+ request: Record<string, unknown>;
632
+ }, {
633
+ page: {
634
+ paginationType: "cursor";
635
+ isLastPage: boolean;
636
+ pageFetchLimitReached: boolean;
637
+ nextCursor: string | null;
638
+ cursor?: string | undefined;
639
+ };
640
+ media: {
641
+ url: string;
642
+ id: string;
643
+ contentHash: string;
644
+ mediaFinderSource: "bluesky";
645
+ files: [{
646
+ mimeType: string;
647
+ ext: string;
648
+ video: boolean;
649
+ image: boolean;
650
+ url: string;
651
+ type: "full";
652
+ fileSize?: number | undefined;
653
+ aspectRatio?: {
654
+ width: number;
655
+ height: number;
656
+ } | undefined;
657
+ }, {
658
+ mimeType: string;
659
+ ext: string;
660
+ video: boolean;
661
+ image: boolean;
662
+ url: string;
663
+ type: "thumbnail";
664
+ fileSize?: number | undefined;
665
+ aspectRatio?: {
666
+ width: number;
667
+ height: number;
668
+ } | undefined;
669
+ }];
670
+ nameOfUploader: string;
671
+ usernameOfUploader: string;
672
+ title: string;
673
+ dateUploaded: Date;
674
+ }[];
675
+ request: Record<string, unknown>;
676
+ }>;
677
+ readonly constructor: {
678
+ readonly _setup: ($: import("../../../ActionContext.js").ActionContext) => Promise<import("@atproto/api/dist/client/types/app/bsky/feed/searchPosts.js").OutputSchema>;
679
+ readonly page: {
680
+ readonly paginationType: () => string;
681
+ readonly cursor: ($: import("../../../ActionContext.js").ActionContext) => any;
682
+ readonly nextCursor: ($: import("../../../ActionContext.js").ActionContext) => any;
683
+ readonly isLastPage: ($: import("../../../ActionContext.js").ActionContext) => boolean;
684
+ readonly pageFetchLimitReached: ($: import("../../../ActionContext.js").ActionContext) => boolean | undefined;
685
+ };
686
+ readonly media: {
687
+ _arrayMap: ($: import("../../../ActionContext.js").ActionContext) => {
688
+ id: string;
689
+ postCid: string;
690
+ postUri: string;
691
+ postUrl: string;
692
+ postTextContents: string;
693
+ fileCid: string;
694
+ altText: string;
695
+ mimeType: string;
696
+ filesize: number;
697
+ playlistUrl?: string;
698
+ thumbnailUrl: string;
699
+ fullsizeUrl?: string;
700
+ aspectRatio: {
701
+ width: number;
702
+ height: number;
703
+ };
704
+ author: {
705
+ did: string;
706
+ handle: string;
707
+ displayName: string;
708
+ avatarUrl: string;
709
+ createdAt: string;
710
+ };
711
+ languages: string[];
712
+ createdAt: string;
713
+ }[];
714
+ mediaFinderSource: string;
715
+ id: ($: import("../../../ActionContext.js").ActionContext) => any;
716
+ contentHash: ($: import("../../../ActionContext.js").ActionContext) => any;
717
+ title: ($: import("../../../ActionContext.js").ActionContext) => any;
718
+ url: ($: import("../../../ActionContext.js").ActionContext) => any;
719
+ dateUploaded: ($: import("../../../ActionContext.js").ActionContext) => Date;
720
+ usernameOfUploader: ($: import("../../../ActionContext.js").ActionContext) => any;
721
+ nameOfUploader: ($: import("../../../ActionContext.js").ActionContext) => any;
722
+ files: {
723
+ _arrayMap: ($: import("../../../ActionContext.js").ActionContext) => any[];
724
+ _setup: ($: import("../../../ActionContext.js").ActionContext) => import("../../../ActionContext.js").ActionContext;
725
+ type: ($: import("../../../ActionContext.js").ActionContext) => any;
726
+ url: ($: import("../../../ActionContext.js").ActionContext) => any;
727
+ ext: ($: import("../../../ActionContext.js").ActionContext) => any;
728
+ mimeType: ($: import("../../../ActionContext.js").ActionContext) => any;
729
+ image: ($: import("../../../ActionContext.js").ActionContext) => any;
730
+ video: ($: import("../../../ActionContext.js").ActionContext) => any;
731
+ fileSize: ($: import("../../../ActionContext.js").ActionContext) => any;
732
+ aspectRatio: ($: import("../../../ActionContext.js").ActionContext) => any;
733
+ }[];
734
+ }[];
735
+ readonly request: ($: import("../../../ActionContext.js").ActionContext) => Record<string, any>;
736
+ };
737
+ }];
738
+ } | {
739
+ readonly id: "feed";
740
+ readonly displayName: "Feed";
741
+ readonly description: "Get all media in a feed";
742
+ readonly requestSchema: import("zod").ZodObject<{
743
+ source: import("zod").ZodString;
744
+ queryType: import("zod").ZodString;
745
+ feedId: import("zod").ZodString;
746
+ cursor: import("zod").ZodOptional<import("zod").ZodString>;
747
+ maxPostCount: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
748
+ }, "strict", import("zod").ZodTypeAny, {
749
+ source: string;
750
+ queryType: string;
751
+ feedId: string;
752
+ maxPostCount: number;
753
+ cursor?: string | undefined;
754
+ }, {
755
+ source: string;
756
+ queryType: string;
757
+ feedId: string;
758
+ cursor?: string | undefined;
759
+ maxPostCount?: number | undefined;
760
+ }>;
761
+ readonly secretsSchema: import("zod").ZodObject<{
762
+ handle: import("zod").ZodOptional<import("zod").ZodString>;
763
+ password: import("zod").ZodOptional<import("zod").ZodString>;
764
+ serviceUrl: import("zod").ZodOptional<import("zod").ZodString>;
765
+ }, "strict", import("zod").ZodTypeAny, {
766
+ password?: string | undefined;
767
+ handle?: string | undefined;
768
+ serviceUrl?: string | undefined;
769
+ }, {
770
+ password?: string | undefined;
771
+ handle?: string | undefined;
772
+ serviceUrl?: string | undefined;
773
+ }>;
774
+ readonly paginationType: "cursor";
775
+ readonly responses: [{
776
+ readonly schema: import("zod").ZodObject<{
777
+ page: import("zod").ZodObject<{
778
+ paginationType: import("zod").ZodLiteral<"cursor">;
779
+ cursor: import("zod").ZodOptional<import("zod").ZodString>;
780
+ nextCursor: import("zod").ZodNullable<import("zod").ZodString>;
781
+ isLastPage: import("zod").ZodBoolean;
782
+ pageFetchLimitReached: import("zod").ZodBoolean;
783
+ }, "strict", import("zod").ZodTypeAny, {
784
+ paginationType: "cursor";
785
+ isLastPage: boolean;
786
+ pageFetchLimitReached: boolean;
787
+ nextCursor: string | null;
788
+ cursor?: string | undefined;
789
+ }, {
790
+ paginationType: "cursor";
791
+ isLastPage: boolean;
792
+ pageFetchLimitReached: boolean;
793
+ nextCursor: string | null;
794
+ cursor?: string | undefined;
795
+ }>;
796
+ media: import("zod").ZodArray<import("zod").ZodObject<{
797
+ mediaFinderSource: import("zod").ZodLiteral<"bluesky">;
798
+ id: import("zod").ZodString;
799
+ title: import("zod").ZodString;
800
+ url: import("zod").ZodString;
801
+ dateUploaded: import("zod").ZodDate;
802
+ usernameOfUploader: import("zod").ZodString;
803
+ nameOfUploader: import("zod").ZodString;
804
+ files: import("zod").ZodTuple<[import("zod").ZodObject<{
805
+ url: import("zod").ZodString;
806
+ ext: import("zod").ZodString;
807
+ mimeType: import("zod").ZodString;
808
+ image: import("zod").ZodBoolean;
809
+ video: import("zod").ZodBoolean;
810
+ fileSize: import("zod").ZodOptional<import("zod").ZodNumber>;
811
+ aspectRatio: import("zod").ZodOptional<import("zod").ZodObject<{
812
+ height: import("zod").ZodNumber;
813
+ width: import("zod").ZodNumber;
814
+ }, "strict", import("zod").ZodTypeAny, {
815
+ width: number;
816
+ height: number;
817
+ }, {
818
+ width: number;
819
+ height: number;
820
+ }>>;
821
+ } & {
822
+ type: import("zod").ZodLiteral<"full">;
823
+ }, "strict", import("zod").ZodTypeAny, {
824
+ mimeType: string;
825
+ ext: string;
826
+ video: boolean;
827
+ image: boolean;
828
+ url: string;
829
+ type: "full";
830
+ fileSize?: number | undefined;
831
+ aspectRatio?: {
832
+ width: number;
833
+ height: number;
834
+ } | undefined;
835
+ }, {
836
+ mimeType: string;
837
+ ext: string;
838
+ video: boolean;
839
+ image: boolean;
840
+ url: string;
841
+ type: "full";
842
+ fileSize?: number | undefined;
843
+ aspectRatio?: {
844
+ width: number;
845
+ height: number;
846
+ } | undefined;
847
+ }>, import("zod").ZodObject<{
848
+ url: import("zod").ZodString;
849
+ ext: import("zod").ZodString;
850
+ mimeType: import("zod").ZodString;
851
+ image: import("zod").ZodBoolean;
852
+ video: import("zod").ZodBoolean;
853
+ fileSize: import("zod").ZodOptional<import("zod").ZodNumber>;
854
+ aspectRatio: import("zod").ZodOptional<import("zod").ZodObject<{
855
+ height: import("zod").ZodNumber;
856
+ width: import("zod").ZodNumber;
857
+ }, "strict", import("zod").ZodTypeAny, {
858
+ width: number;
859
+ height: number;
860
+ }, {
861
+ width: number;
862
+ height: number;
863
+ }>>;
864
+ } & {
865
+ type: import("zod").ZodLiteral<"thumbnail">;
866
+ }, "strict", import("zod").ZodTypeAny, {
867
+ mimeType: string;
868
+ ext: string;
869
+ video: boolean;
870
+ image: boolean;
871
+ url: string;
872
+ type: "thumbnail";
873
+ fileSize?: number | undefined;
874
+ aspectRatio?: {
875
+ width: number;
876
+ height: number;
877
+ } | undefined;
878
+ }, {
879
+ mimeType: string;
880
+ ext: string;
881
+ video: boolean;
882
+ image: boolean;
883
+ url: string;
884
+ type: "thumbnail";
885
+ fileSize?: number | undefined;
886
+ aspectRatio?: {
887
+ width: number;
888
+ height: number;
889
+ } | undefined;
890
+ }>], null>;
891
+ contentHash: import("zod").ZodString;
892
+ }, "strict", import("zod").ZodTypeAny, {
893
+ url: string;
894
+ id: string;
895
+ contentHash: string;
896
+ mediaFinderSource: "bluesky";
897
+ files: [{
898
+ mimeType: string;
899
+ ext: string;
900
+ video: boolean;
901
+ image: boolean;
902
+ url: string;
903
+ type: "full";
904
+ fileSize?: number | undefined;
905
+ aspectRatio?: {
906
+ width: number;
907
+ height: number;
908
+ } | undefined;
909
+ }, {
910
+ mimeType: string;
911
+ ext: string;
912
+ video: boolean;
913
+ image: boolean;
914
+ url: string;
915
+ type: "thumbnail";
916
+ fileSize?: number | undefined;
917
+ aspectRatio?: {
918
+ width: number;
919
+ height: number;
920
+ } | undefined;
921
+ }];
922
+ nameOfUploader: string;
923
+ usernameOfUploader: string;
924
+ title: string;
925
+ dateUploaded: Date;
926
+ }, {
927
+ url: string;
928
+ id: string;
929
+ contentHash: string;
930
+ mediaFinderSource: "bluesky";
931
+ files: [{
932
+ mimeType: string;
933
+ ext: string;
934
+ video: boolean;
935
+ image: boolean;
936
+ url: string;
937
+ type: "full";
938
+ fileSize?: number | undefined;
939
+ aspectRatio?: {
940
+ width: number;
941
+ height: number;
942
+ } | undefined;
943
+ }, {
944
+ mimeType: string;
945
+ ext: string;
946
+ video: boolean;
947
+ image: boolean;
948
+ url: string;
949
+ type: "thumbnail";
950
+ fileSize?: number | undefined;
951
+ aspectRatio?: {
952
+ width: number;
953
+ height: number;
954
+ } | undefined;
955
+ }];
956
+ nameOfUploader: string;
957
+ usernameOfUploader: string;
958
+ title: string;
959
+ dateUploaded: Date;
960
+ }>, "many">;
961
+ request: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>;
962
+ }, "strict", import("zod").ZodTypeAny, {
963
+ page: {
964
+ paginationType: "cursor";
965
+ isLastPage: boolean;
966
+ pageFetchLimitReached: boolean;
967
+ nextCursor: string | null;
968
+ cursor?: string | undefined;
969
+ };
970
+ media: {
971
+ url: string;
972
+ id: string;
973
+ contentHash: string;
974
+ mediaFinderSource: "bluesky";
975
+ files: [{
976
+ mimeType: string;
977
+ ext: string;
978
+ video: boolean;
979
+ image: boolean;
980
+ url: string;
981
+ type: "full";
982
+ fileSize?: number | undefined;
983
+ aspectRatio?: {
984
+ width: number;
985
+ height: number;
986
+ } | undefined;
987
+ }, {
988
+ mimeType: string;
989
+ ext: string;
990
+ video: boolean;
991
+ image: boolean;
992
+ url: string;
993
+ type: "thumbnail";
994
+ fileSize?: number | undefined;
995
+ aspectRatio?: {
996
+ width: number;
997
+ height: number;
998
+ } | undefined;
999
+ }];
1000
+ nameOfUploader: string;
1001
+ usernameOfUploader: string;
1002
+ title: string;
1003
+ dateUploaded: Date;
1004
+ }[];
1005
+ request: Record<string, unknown>;
1006
+ }, {
1007
+ page: {
1008
+ paginationType: "cursor";
1009
+ isLastPage: boolean;
1010
+ pageFetchLimitReached: boolean;
1011
+ nextCursor: string | null;
1012
+ cursor?: string | undefined;
1013
+ };
1014
+ media: {
1015
+ url: string;
1016
+ id: string;
1017
+ contentHash: string;
1018
+ mediaFinderSource: "bluesky";
1019
+ files: [{
1020
+ mimeType: string;
1021
+ ext: string;
1022
+ video: boolean;
1023
+ image: boolean;
1024
+ url: string;
1025
+ type: "full";
1026
+ fileSize?: number | undefined;
1027
+ aspectRatio?: {
1028
+ width: number;
1029
+ height: number;
1030
+ } | undefined;
1031
+ }, {
1032
+ mimeType: string;
1033
+ ext: string;
1034
+ video: boolean;
1035
+ image: boolean;
1036
+ url: string;
1037
+ type: "thumbnail";
1038
+ fileSize?: number | undefined;
1039
+ aspectRatio?: {
1040
+ width: number;
1041
+ height: number;
1042
+ } | undefined;
1043
+ }];
1044
+ nameOfUploader: string;
1045
+ usernameOfUploader: string;
1046
+ title: string;
1047
+ dateUploaded: Date;
1048
+ }[];
1049
+ request: Record<string, unknown>;
1050
+ }>;
1051
+ readonly constructor: {
1052
+ readonly _setup: ($: import("../../../ActionContext.js").ActionContext) => Promise<import("@atproto/api/dist/client/types/app/bsky/feed/getFeed.js").OutputSchema>;
1053
+ readonly page: {
1054
+ readonly paginationType: () => string;
1055
+ readonly cursor: ($: import("../../../ActionContext.js").ActionContext) => any;
1056
+ readonly nextCursor: ($: import("../../../ActionContext.js").ActionContext) => any;
1057
+ readonly isLastPage: ($: import("../../../ActionContext.js").ActionContext) => boolean;
1058
+ readonly pageFetchLimitReached: ($: import("../../../ActionContext.js").ActionContext) => boolean | undefined;
1059
+ };
1060
+ readonly media: {
1061
+ _arrayMap: ($: import("../../../ActionContext.js").ActionContext) => {
1062
+ id: string;
1063
+ postCid: string;
1064
+ postUri: string;
1065
+ postUrl: string;
1066
+ postTextContents: string;
1067
+ fileCid: string;
1068
+ altText: string;
1069
+ mimeType: string;
1070
+ filesize: number;
1071
+ playlistUrl?: string;
1072
+ thumbnailUrl: string;
1073
+ fullsizeUrl?: string;
1074
+ aspectRatio: {
1075
+ width: number;
1076
+ height: number;
1077
+ };
1078
+ author: {
1079
+ did: string;
1080
+ handle: string;
1081
+ displayName: string;
1082
+ avatarUrl: string;
1083
+ createdAt: string;
1084
+ };
1085
+ languages: string[];
1086
+ createdAt: string;
1087
+ }[];
1088
+ mediaFinderSource: string;
1089
+ id: ($: import("../../../ActionContext.js").ActionContext) => any;
1090
+ contentHash: ($: import("../../../ActionContext.js").ActionContext) => any;
1091
+ title: ($: import("../../../ActionContext.js").ActionContext) => any;
1092
+ url: ($: import("../../../ActionContext.js").ActionContext) => any;
1093
+ dateUploaded: ($: import("../../../ActionContext.js").ActionContext) => Date;
1094
+ usernameOfUploader: ($: import("../../../ActionContext.js").ActionContext) => any;
1095
+ nameOfUploader: ($: import("../../../ActionContext.js").ActionContext) => any;
1096
+ files: {
1097
+ _arrayMap: ($: import("../../../ActionContext.js").ActionContext) => any[];
1098
+ _setup: ($: import("../../../ActionContext.js").ActionContext) => import("../../../ActionContext.js").ActionContext;
1099
+ type: ($: import("../../../ActionContext.js").ActionContext) => any;
1100
+ url: ($: import("../../../ActionContext.js").ActionContext) => any;
1101
+ ext: ($: import("../../../ActionContext.js").ActionContext) => any;
1102
+ mimeType: ($: import("../../../ActionContext.js").ActionContext) => any;
1103
+ image: ($: import("../../../ActionContext.js").ActionContext) => any;
1104
+ video: ($: import("../../../ActionContext.js").ActionContext) => any;
1105
+ fileSize: ($: import("../../../ActionContext.js").ActionContext) => any;
1106
+ aspectRatio: ($: import("../../../ActionContext.js").ActionContext) => any;
1107
+ }[];
1108
+ }[];
1109
+ readonly request: ($: import("../../../ActionContext.js").ActionContext) => Record<string, any>;
1110
+ };
1111
+ }];
1112
+ })[];
1113
+ };
1114
+ export default _default;
1115
+ //# sourceMappingURL=index.d.ts.map