@paklo/core 0.1.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 (55) hide show
  1. package/LICENSE +21 -0
  2. package/dist/browser/defineProperty-ie4tC-F5.js +43 -0
  3. package/dist/browser/environment-DinhzwQn.js +139 -0
  4. package/dist/browser/environment-DinhzwQn.js.map +1 -0
  5. package/dist/browser/environment.d.ts +33 -0
  6. package/dist/browser/environment.js +3 -0
  7. package/dist/browser/github.d.ts +151 -0
  8. package/dist/browser/github.js +199 -0
  9. package/dist/browser/github.js.map +1 -0
  10. package/dist/browser/http.d.ts +121 -0
  11. package/dist/browser/http.js +248 -0
  12. package/dist/browser/http.js.map +1 -0
  13. package/dist/browser/logger-B7HLv660.js +31 -0
  14. package/dist/browser/logger-B7HLv660.js.map +1 -0
  15. package/dist/browser/logger.d.ts +23 -0
  16. package/dist/browser/logger.js +4 -0
  17. package/dist/browser/shared-data.d.ts +22 -0
  18. package/dist/browser/shared-data.js +23 -0
  19. package/dist/browser/shared-data.js.map +1 -0
  20. package/dist/browser/usage.d.ts +99 -0
  21. package/dist/browser/usage.js +383 -0
  22. package/dist/browser/usage.js.map +1 -0
  23. package/dist/node/azure.d.ts +338 -0
  24. package/dist/node/azure.js +735 -0
  25. package/dist/node/azure.js.map +1 -0
  26. package/dist/node/dependabot-BteoKZVy.js +547 -0
  27. package/dist/node/dependabot-BteoKZVy.js.map +1 -0
  28. package/dist/node/dependabot.d.ts +3 -0
  29. package/dist/node/dependabot.js +6 -0
  30. package/dist/node/environment-DX5CD-dD.js +138 -0
  31. package/dist/node/environment-DX5CD-dD.js.map +1 -0
  32. package/dist/node/environment.d.ts +33 -0
  33. package/dist/node/environment.js +3 -0
  34. package/dist/node/github.d.ts +2 -0
  35. package/dist/node/github.js +198 -0
  36. package/dist/node/github.js.map +1 -0
  37. package/dist/node/http-BG_-s47I.js +245 -0
  38. package/dist/node/http-BG_-s47I.js.map +1 -0
  39. package/dist/node/http.d.ts +121 -0
  40. package/dist/node/http.js +4 -0
  41. package/dist/node/index-3wZw74Ah.d.ts +151 -0
  42. package/dist/node/index-DP9JfUPG.d.ts +1761 -0
  43. package/dist/node/job-Crr4kh3e.js +451 -0
  44. package/dist/node/job-Crr4kh3e.js.map +1 -0
  45. package/dist/node/logger-bWnHxtAf.js +31 -0
  46. package/dist/node/logger-bWnHxtAf.js.map +1 -0
  47. package/dist/node/logger.d.ts +23 -0
  48. package/dist/node/logger.js +4 -0
  49. package/dist/node/shared-data.d.ts +22 -0
  50. package/dist/node/shared-data.js +23 -0
  51. package/dist/node/shared-data.js.map +1 -0
  52. package/dist/node/usage.d.ts +99 -0
  53. package/dist/node/usage.js +48 -0
  54. package/dist/node/usage.js.map +1 -0
  55. package/package.json +93 -0
@@ -0,0 +1,1761 @@
1
+ import { p as SecurityVulnerability } from "./index-3wZw74Ah.js";
2
+ import { z } from "zod/v4";
3
+ import { Hono } from "hono";
4
+
5
+ //#region src/dependabot/author.d.ts
6
+ type GitAuthor = {
7
+ name: string;
8
+ email: string;
9
+ };
10
+ declare const DEPENDABOT_DEFAULT_AUTHOR_EMAIL = "noreply@github.com";
11
+ declare const DEPENDABOT_DEFAULT_AUTHOR_NAME = "dependabot[bot]";
12
+ //#endregion
13
+ //#region src/dependabot/placeholder.d.ts
14
+ type VariableFinderFn = (name: string) => string | undefined | Promise<string | undefined>;
15
+ declare function convertPlaceholder({
16
+ input,
17
+ variableFinder
18
+ }: {
19
+ input?: string;
20
+ variableFinder: VariableFinderFn;
21
+ }): Promise<string | undefined>;
22
+ declare function extractPlaceholder(input: string): RegExpExecArray[];
23
+ //#endregion
24
+ //#region src/dependabot/config.d.ts
25
+ declare const DependabotRegistrySchema: z.ZodPipe<z.ZodObject<{
26
+ type: z.ZodEnum<{
27
+ "composer-repository": "composer-repository";
28
+ "docker-registry": "docker-registry";
29
+ git: "git";
30
+ "hex-organization": "hex-organization";
31
+ "hex-repository": "hex-repository";
32
+ "maven-repository": "maven-repository";
33
+ "npm-registry": "npm-registry";
34
+ "nuget-feed": "nuget-feed";
35
+ "python-index": "python-index";
36
+ "rubygems-server": "rubygems-server";
37
+ "terraform-registry": "terraform-registry";
38
+ }>;
39
+ url: z.ZodOptional<z.ZodString>;
40
+ username: z.ZodOptional<z.ZodString>;
41
+ password: z.ZodOptional<z.ZodString>;
42
+ key: z.ZodOptional<z.ZodString>;
43
+ token: z.ZodOptional<z.ZodString>;
44
+ 'replaces-base': z.ZodOptional<z.ZodBoolean>;
45
+ host: z.ZodOptional<z.ZodString>;
46
+ registry: z.ZodOptional<z.ZodString>;
47
+ organization: z.ZodOptional<z.ZodString>;
48
+ repo: z.ZodOptional<z.ZodString>;
49
+ 'public-key-fingerprint': z.ZodOptional<z.ZodString>;
50
+ 'index-url': z.ZodOptional<z.ZodString>;
51
+ 'auth-key': z.ZodOptional<z.ZodString>;
52
+ 'tenant-id': z.ZodOptional<z.ZodString>;
53
+ 'client-id': z.ZodOptional<z.ZodString>;
54
+ }, z.core.$strip>, z.ZodTransform<{
55
+ type: string;
56
+ url?: string | undefined;
57
+ username?: string | undefined;
58
+ password?: string | undefined;
59
+ key?: string | undefined;
60
+ token?: string | undefined;
61
+ 'replaces-base'?: boolean | undefined;
62
+ host?: string | undefined;
63
+ registry?: string | undefined;
64
+ organization?: string | undefined;
65
+ repo?: string | undefined;
66
+ 'public-key-fingerprint'?: string | undefined;
67
+ 'index-url'?: string | undefined;
68
+ 'auth-key'?: string | undefined;
69
+ 'tenant-id'?: string | undefined;
70
+ 'client-id'?: string | undefined;
71
+ }, {
72
+ type: "composer-repository" | "docker-registry" | "git" | "hex-organization" | "hex-repository" | "maven-repository" | "npm-registry" | "nuget-feed" | "python-index" | "rubygems-server" | "terraform-registry";
73
+ url?: string | undefined;
74
+ username?: string | undefined;
75
+ password?: string | undefined;
76
+ key?: string | undefined;
77
+ token?: string | undefined;
78
+ 'replaces-base'?: boolean | undefined;
79
+ host?: string | undefined;
80
+ registry?: string | undefined;
81
+ organization?: string | undefined;
82
+ repo?: string | undefined;
83
+ 'public-key-fingerprint'?: string | undefined;
84
+ 'index-url'?: string | undefined;
85
+ 'auth-key'?: string | undefined;
86
+ 'tenant-id'?: string | undefined;
87
+ 'client-id'?: string | undefined;
88
+ }>>;
89
+ type DependabotRegistry = z.infer<typeof DependabotRegistrySchema>;
90
+ declare const DependabotGroupSchema: z.ZodObject<{
91
+ IDENTIFIER: z.ZodOptional<z.ZodString>;
92
+ 'applies-to': z.ZodOptional<z.ZodEnum<{
93
+ "version-updates": "version-updates";
94
+ "security-updates": "security-updates";
95
+ }>>;
96
+ 'dependency-type': z.ZodOptional<z.ZodEnum<{
97
+ development: "development";
98
+ production: "production";
99
+ }>>;
100
+ patterns: z.ZodOptional<z.ZodArray<z.ZodString>>;
101
+ 'exclude-patterns': z.ZodOptional<z.ZodArray<z.ZodString>>;
102
+ 'update-types': z.ZodOptional<z.ZodArray<z.ZodEnum<{
103
+ major: "major";
104
+ minor: "minor";
105
+ patch: "patch";
106
+ }>>>;
107
+ }, z.core.$strip>;
108
+ type DependabotGroup = z.infer<typeof DependabotGroupSchema>;
109
+ declare const DependabotAllowConditionSchema: z.ZodObject<{
110
+ 'dependency-name': z.ZodOptional<z.ZodString>;
111
+ 'dependency-type': z.ZodOptional<z.ZodEnum<{
112
+ development: "development";
113
+ production: "production";
114
+ direct: "direct";
115
+ indirect: "indirect";
116
+ all: "all";
117
+ }>>;
118
+ 'update-type': z.ZodOptional<z.ZodEnum<{
119
+ all: "all";
120
+ security: "security";
121
+ }>>;
122
+ }, z.core.$strip>;
123
+ type DependabotAllowCondition = z.infer<typeof DependabotAllowConditionSchema>;
124
+ declare const DependabotIgnoreConditionSchema: z.ZodIntersection<z.ZodObject<{
125
+ 'dependency-name': z.ZodOptional<z.ZodString>;
126
+ versions: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString>, z.ZodString]>>;
127
+ 'update-types': z.ZodOptional<z.ZodArray<z.ZodEnum<{
128
+ "version-update:semver-major": "version-update:semver-major";
129
+ "version-update:semver-minor": "version-update:semver-minor";
130
+ "version-update:semver-patch": "version-update:semver-patch";
131
+ }>>>;
132
+ }, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodAny>>;
133
+ type DependabotIgnoreCondition = z.infer<typeof DependabotIgnoreConditionSchema>;
134
+ declare const DependabotScheduleSchema: z.ZodObject<{
135
+ interval: z.ZodEnum<{
136
+ daily: "daily";
137
+ weekly: "weekly";
138
+ monthly: "monthly";
139
+ quarterly: "quarterly";
140
+ semiannually: "semiannually";
141
+ yearly: "yearly";
142
+ cron: "cron";
143
+ }>;
144
+ day: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
145
+ sunday: "sunday";
146
+ monday: "monday";
147
+ tuesday: "tuesday";
148
+ wednesday: "wednesday";
149
+ thursday: "thursday";
150
+ friday: "friday";
151
+ saturday: "saturday";
152
+ }>>>;
153
+ time: z.ZodOptional<z.ZodDefault<z.ZodString>>;
154
+ timezone: z.ZodDefault<z.ZodOptional<z.ZodString>>;
155
+ cronjob: z.ZodOptional<z.ZodString>;
156
+ }, z.core.$strip>;
157
+ type DependabotSchedule = z.infer<typeof DependabotScheduleSchema>;
158
+ declare const DependabotCommitMessageSchema: z.ZodObject<{
159
+ prefix: z.ZodOptional<z.ZodString>;
160
+ 'prefix-development': z.ZodOptional<z.ZodString>;
161
+ include: z.ZodOptional<z.ZodString>;
162
+ }, z.core.$strip>;
163
+ type DependabotCommitMessage = z.infer<typeof DependabotCommitMessageSchema>;
164
+ declare const DependabotCooldownSchema: z.ZodObject<{
165
+ 'default-days': z.ZodOptional<z.ZodNumber>;
166
+ 'semver-major-days': z.ZodOptional<z.ZodNumber>;
167
+ 'semver-minor-days': z.ZodOptional<z.ZodNumber>;
168
+ 'semver-patch-days': z.ZodOptional<z.ZodNumber>;
169
+ include: z.ZodOptional<z.ZodArray<z.ZodString>>;
170
+ exclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
171
+ }, z.core.$strip>;
172
+ type DependabotCooldown = z.infer<typeof DependabotCooldownSchema>;
173
+ declare const DependabotPullRequestBranchNameSchema: z.ZodObject<{
174
+ separator: z.ZodOptional<z.ZodString>;
175
+ }, z.core.$strip>;
176
+ type DependabotPullRequestBranchName = z.infer<typeof DependabotPullRequestBranchNameSchema>;
177
+ declare const PackageEcosystemSchema: z.ZodEnum<{
178
+ bun: "bun";
179
+ bundler: "bundler";
180
+ cargo: "cargo";
181
+ composer: "composer";
182
+ devcontainers: "devcontainers";
183
+ docker: "docker";
184
+ helm: "helm";
185
+ elm: "elm";
186
+ gradle: "gradle";
187
+ maven: "maven";
188
+ nuget: "nuget";
189
+ pip: "pip";
190
+ pub: "pub";
191
+ swift: "swift";
192
+ terraform: "terraform";
193
+ uv: "uv";
194
+ "docker-compose": "docker-compose";
195
+ "dotnet-sdk": "dotnet-sdk";
196
+ mix: "mix";
197
+ gitsubmodule: "gitsubmodule";
198
+ "github-actions": "github-actions";
199
+ gomod: "gomod";
200
+ npm: "npm";
201
+ pipenv: "pipenv";
202
+ "pip-compile": "pip-compile";
203
+ poetry: "poetry";
204
+ pnpm: "pnpm";
205
+ yarn: "yarn";
206
+ }>;
207
+ type PackageEcosystem = z.infer<typeof PackageEcosystemSchema>;
208
+ declare const VersioningStrategySchema: z.ZodEnum<{
209
+ auto: "auto";
210
+ increase: "increase";
211
+ "increase-if-necessary": "increase-if-necessary";
212
+ "lockfile-only": "lockfile-only";
213
+ widen: "widen";
214
+ }>;
215
+ type VersioningStrategy = z.infer<typeof VersioningStrategySchema>;
216
+ declare const DependabotUpdateSchema: z.ZodPipe<z.ZodObject<{
217
+ 'package-ecosystem': z.ZodEnum<{
218
+ bun: "bun";
219
+ bundler: "bundler";
220
+ cargo: "cargo";
221
+ composer: "composer";
222
+ devcontainers: "devcontainers";
223
+ docker: "docker";
224
+ helm: "helm";
225
+ elm: "elm";
226
+ gradle: "gradle";
227
+ maven: "maven";
228
+ nuget: "nuget";
229
+ pip: "pip";
230
+ pub: "pub";
231
+ swift: "swift";
232
+ terraform: "terraform";
233
+ uv: "uv";
234
+ "docker-compose": "docker-compose";
235
+ "dotnet-sdk": "dotnet-sdk";
236
+ mix: "mix";
237
+ gitsubmodule: "gitsubmodule";
238
+ "github-actions": "github-actions";
239
+ gomod: "gomod";
240
+ npm: "npm";
241
+ pipenv: "pipenv";
242
+ "pip-compile": "pip-compile";
243
+ poetry: "poetry";
244
+ pnpm: "pnpm";
245
+ yarn: "yarn";
246
+ }>;
247
+ directory: z.ZodOptional<z.ZodString>;
248
+ directories: z.ZodOptional<z.ZodArray<z.ZodString>>;
249
+ allow: z.ZodOptional<z.ZodArray<z.ZodObject<{
250
+ 'dependency-name': z.ZodOptional<z.ZodString>;
251
+ 'dependency-type': z.ZodOptional<z.ZodEnum<{
252
+ development: "development";
253
+ production: "production";
254
+ direct: "direct";
255
+ indirect: "indirect";
256
+ all: "all";
257
+ }>>;
258
+ 'update-type': z.ZodOptional<z.ZodEnum<{
259
+ all: "all";
260
+ security: "security";
261
+ }>>;
262
+ }, z.core.$strip>>>;
263
+ assignees: z.ZodOptional<z.ZodArray<z.ZodString>>;
264
+ 'commit-message': z.ZodOptional<z.ZodObject<{
265
+ prefix: z.ZodOptional<z.ZodString>;
266
+ 'prefix-development': z.ZodOptional<z.ZodString>;
267
+ include: z.ZodOptional<z.ZodString>;
268
+ }, z.core.$strip>>;
269
+ cooldown: z.ZodOptional<z.ZodObject<{
270
+ 'default-days': z.ZodOptional<z.ZodNumber>;
271
+ 'semver-major-days': z.ZodOptional<z.ZodNumber>;
272
+ 'semver-minor-days': z.ZodOptional<z.ZodNumber>;
273
+ 'semver-patch-days': z.ZodOptional<z.ZodNumber>;
274
+ include: z.ZodOptional<z.ZodArray<z.ZodString>>;
275
+ exclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
276
+ }, z.core.$strip>>;
277
+ groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
278
+ IDENTIFIER: z.ZodOptional<z.ZodString>;
279
+ 'applies-to': z.ZodOptional<z.ZodEnum<{
280
+ "version-updates": "version-updates";
281
+ "security-updates": "security-updates";
282
+ }>>;
283
+ 'dependency-type': z.ZodOptional<z.ZodEnum<{
284
+ development: "development";
285
+ production: "production";
286
+ }>>;
287
+ patterns: z.ZodOptional<z.ZodArray<z.ZodString>>;
288
+ 'exclude-patterns': z.ZodOptional<z.ZodArray<z.ZodString>>;
289
+ 'update-types': z.ZodOptional<z.ZodArray<z.ZodEnum<{
290
+ major: "major";
291
+ minor: "minor";
292
+ patch: "patch";
293
+ }>>>;
294
+ }, z.core.$strip>>>;
295
+ ignore: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{
296
+ 'dependency-name': z.ZodOptional<z.ZodString>;
297
+ versions: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString>, z.ZodString]>>;
298
+ 'update-types': z.ZodOptional<z.ZodArray<z.ZodEnum<{
299
+ "version-update:semver-major": "version-update:semver-major";
300
+ "version-update:semver-minor": "version-update:semver-minor";
301
+ "version-update:semver-patch": "version-update:semver-patch";
302
+ }>>>;
303
+ }, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodAny>>>>;
304
+ 'insecure-external-code-execution': z.ZodOptional<z.ZodEnum<{
305
+ allow: "allow";
306
+ deny: "deny";
307
+ }>>;
308
+ labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
309
+ milestone: z.ZodOptional<z.ZodCoercedString<unknown>>;
310
+ 'open-pull-requests-limit': z.ZodOptional<z.ZodNumber>;
311
+ 'pull-request-branch-name': z.ZodOptional<z.ZodObject<{
312
+ separator: z.ZodOptional<z.ZodString>;
313
+ }, z.core.$strip>>;
314
+ 'rebase-strategy': z.ZodOptional<z.ZodString>;
315
+ registries: z.ZodOptional<z.ZodArray<z.ZodString>>;
316
+ schedule: z.ZodOptional<z.ZodObject<{
317
+ interval: z.ZodEnum<{
318
+ daily: "daily";
319
+ weekly: "weekly";
320
+ monthly: "monthly";
321
+ quarterly: "quarterly";
322
+ semiannually: "semiannually";
323
+ yearly: "yearly";
324
+ cron: "cron";
325
+ }>;
326
+ day: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
327
+ sunday: "sunday";
328
+ monday: "monday";
329
+ tuesday: "tuesday";
330
+ wednesday: "wednesday";
331
+ thursday: "thursday";
332
+ friday: "friday";
333
+ saturday: "saturday";
334
+ }>>>;
335
+ time: z.ZodOptional<z.ZodDefault<z.ZodString>>;
336
+ timezone: z.ZodDefault<z.ZodOptional<z.ZodString>>;
337
+ cronjob: z.ZodOptional<z.ZodString>;
338
+ }, z.core.$strip>>;
339
+ 'target-branch': z.ZodOptional<z.ZodString>;
340
+ vendor: z.ZodOptional<z.ZodBoolean>;
341
+ 'versioning-strategy': z.ZodOptional<z.ZodEnum<{
342
+ auto: "auto";
343
+ increase: "increase";
344
+ "increase-if-necessary": "increase-if-necessary";
345
+ "lockfile-only": "lockfile-only";
346
+ widen: "widen";
347
+ }>>;
348
+ }, z.core.$strip>, z.ZodTransform<{
349
+ 'package-ecosystem': "bun" | "bundler" | "cargo" | "composer" | "devcontainers" | "docker" | "helm" | "elm" | "gradle" | "maven" | "nuget" | "pip" | "pub" | "swift" | "terraform" | "uv" | "docker-compose" | "dotnet-sdk" | "mix" | "gitsubmodule" | "github-actions" | "gomod" | "npm" | "pipenv" | "pip-compile" | "poetry" | "pnpm" | "yarn";
350
+ directory?: string | undefined;
351
+ directories?: string[] | undefined;
352
+ allow?: {
353
+ 'dependency-name'?: string | undefined;
354
+ 'dependency-type'?: "development" | "production" | "direct" | "indirect" | "all" | undefined;
355
+ 'update-type'?: "all" | "security" | undefined;
356
+ }[] | undefined;
357
+ assignees?: string[] | undefined;
358
+ 'commit-message'?: {
359
+ prefix?: string | undefined;
360
+ 'prefix-development'?: string | undefined;
361
+ include?: string | undefined;
362
+ } | undefined;
363
+ cooldown?: {
364
+ 'default-days'?: number | undefined;
365
+ 'semver-major-days'?: number | undefined;
366
+ 'semver-minor-days'?: number | undefined;
367
+ 'semver-patch-days'?: number | undefined;
368
+ include?: string[] | undefined;
369
+ exclude?: string[] | undefined;
370
+ } | undefined;
371
+ groups?: Record<string, {
372
+ IDENTIFIER?: string | undefined;
373
+ 'applies-to'?: "version-updates" | "security-updates" | undefined;
374
+ 'dependency-type'?: "development" | "production" | undefined;
375
+ patterns?: string[] | undefined;
376
+ 'exclude-patterns'?: string[] | undefined;
377
+ 'update-types'?: ("major" | "minor" | "patch")[] | undefined;
378
+ }> | undefined;
379
+ ignore?: ({
380
+ 'dependency-name'?: string | undefined;
381
+ versions?: string | string[] | undefined;
382
+ 'update-types'?: ("version-update:semver-major" | "version-update:semver-minor" | "version-update:semver-patch")[] | undefined;
383
+ } & Record<string, any>)[] | undefined;
384
+ 'insecure-external-code-execution'?: "allow" | "deny" | undefined;
385
+ labels?: string[] | undefined;
386
+ milestone?: string | undefined;
387
+ 'open-pull-requests-limit'?: number | undefined;
388
+ 'pull-request-branch-name'?: {
389
+ separator?: string | undefined;
390
+ } | undefined;
391
+ 'rebase-strategy'?: string | undefined;
392
+ registries?: string[] | undefined;
393
+ schedule?: {
394
+ interval: "daily" | "weekly" | "monthly" | "quarterly" | "semiannually" | "yearly" | "cron";
395
+ day: "sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday";
396
+ timezone: string;
397
+ time?: string | undefined;
398
+ cronjob?: string | undefined;
399
+ } | undefined;
400
+ 'target-branch'?: string | undefined;
401
+ vendor?: boolean | undefined;
402
+ 'versioning-strategy'?: "auto" | "increase" | "increase-if-necessary" | "lockfile-only" | "widen" | undefined;
403
+ }, {
404
+ 'package-ecosystem': "bun" | "bundler" | "cargo" | "composer" | "devcontainers" | "docker" | "helm" | "elm" | "gradle" | "maven" | "nuget" | "pip" | "pub" | "swift" | "terraform" | "uv" | "docker-compose" | "dotnet-sdk" | "mix" | "gitsubmodule" | "github-actions" | "gomod" | "npm" | "pipenv" | "pip-compile" | "poetry" | "pnpm" | "yarn";
405
+ directory?: string | undefined;
406
+ directories?: string[] | undefined;
407
+ allow?: {
408
+ 'dependency-name'?: string | undefined;
409
+ 'dependency-type'?: "development" | "production" | "direct" | "indirect" | "all" | undefined;
410
+ 'update-type'?: "all" | "security" | undefined;
411
+ }[] | undefined;
412
+ assignees?: string[] | undefined;
413
+ 'commit-message'?: {
414
+ prefix?: string | undefined;
415
+ 'prefix-development'?: string | undefined;
416
+ include?: string | undefined;
417
+ } | undefined;
418
+ cooldown?: {
419
+ 'default-days'?: number | undefined;
420
+ 'semver-major-days'?: number | undefined;
421
+ 'semver-minor-days'?: number | undefined;
422
+ 'semver-patch-days'?: number | undefined;
423
+ include?: string[] | undefined;
424
+ exclude?: string[] | undefined;
425
+ } | undefined;
426
+ groups?: Record<string, {
427
+ IDENTIFIER?: string | undefined;
428
+ 'applies-to'?: "version-updates" | "security-updates" | undefined;
429
+ 'dependency-type'?: "development" | "production" | undefined;
430
+ patterns?: string[] | undefined;
431
+ 'exclude-patterns'?: string[] | undefined;
432
+ 'update-types'?: ("major" | "minor" | "patch")[] | undefined;
433
+ }> | undefined;
434
+ ignore?: ({
435
+ 'dependency-name'?: string | undefined;
436
+ versions?: string | string[] | undefined;
437
+ 'update-types'?: ("version-update:semver-major" | "version-update:semver-minor" | "version-update:semver-patch")[] | undefined;
438
+ } & Record<string, any>)[] | undefined;
439
+ 'insecure-external-code-execution'?: "allow" | "deny" | undefined;
440
+ labels?: string[] | undefined;
441
+ milestone?: string | undefined;
442
+ 'open-pull-requests-limit'?: number | undefined;
443
+ 'pull-request-branch-name'?: {
444
+ separator?: string | undefined;
445
+ } | undefined;
446
+ 'rebase-strategy'?: string | undefined;
447
+ registries?: string[] | undefined;
448
+ schedule?: {
449
+ interval: "daily" | "weekly" | "monthly" | "quarterly" | "semiannually" | "yearly" | "cron";
450
+ day: "sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday";
451
+ timezone: string;
452
+ time?: string | undefined;
453
+ cronjob?: string | undefined;
454
+ } | undefined;
455
+ 'target-branch'?: string | undefined;
456
+ vendor?: boolean | undefined;
457
+ 'versioning-strategy'?: "auto" | "increase" | "increase-if-necessary" | "lockfile-only" | "widen" | undefined;
458
+ }>>;
459
+ type DependabotUpdate = z.infer<typeof DependabotUpdateSchema>;
460
+ /**
461
+ * Represents the dependabot.yaml configuration file options.
462
+ * See: https://docs.github.com/en/github/administering-a-repository/configuration-options-for-dependency-updates#configuration-options-for-dependabotyml
463
+ */
464
+ declare const DependabotConfigSchema: z.ZodObject<{
465
+ version: z.ZodNumber;
466
+ updates: z.ZodArray<z.ZodPipe<z.ZodObject<{
467
+ 'package-ecosystem': z.ZodEnum<{
468
+ bun: "bun";
469
+ bundler: "bundler";
470
+ cargo: "cargo";
471
+ composer: "composer";
472
+ devcontainers: "devcontainers";
473
+ docker: "docker";
474
+ helm: "helm";
475
+ elm: "elm";
476
+ gradle: "gradle";
477
+ maven: "maven";
478
+ nuget: "nuget";
479
+ pip: "pip";
480
+ pub: "pub";
481
+ swift: "swift";
482
+ terraform: "terraform";
483
+ uv: "uv";
484
+ "docker-compose": "docker-compose";
485
+ "dotnet-sdk": "dotnet-sdk";
486
+ mix: "mix";
487
+ gitsubmodule: "gitsubmodule";
488
+ "github-actions": "github-actions";
489
+ gomod: "gomod";
490
+ npm: "npm";
491
+ pipenv: "pipenv";
492
+ "pip-compile": "pip-compile";
493
+ poetry: "poetry";
494
+ pnpm: "pnpm";
495
+ yarn: "yarn";
496
+ }>;
497
+ directory: z.ZodOptional<z.ZodString>;
498
+ directories: z.ZodOptional<z.ZodArray<z.ZodString>>;
499
+ allow: z.ZodOptional<z.ZodArray<z.ZodObject<{
500
+ 'dependency-name': z.ZodOptional<z.ZodString>;
501
+ 'dependency-type': z.ZodOptional<z.ZodEnum<{
502
+ development: "development";
503
+ production: "production";
504
+ direct: "direct";
505
+ indirect: "indirect";
506
+ all: "all";
507
+ }>>;
508
+ 'update-type': z.ZodOptional<z.ZodEnum<{
509
+ all: "all";
510
+ security: "security";
511
+ }>>;
512
+ }, z.core.$strip>>>;
513
+ assignees: z.ZodOptional<z.ZodArray<z.ZodString>>;
514
+ 'commit-message': z.ZodOptional<z.ZodObject<{
515
+ prefix: z.ZodOptional<z.ZodString>;
516
+ 'prefix-development': z.ZodOptional<z.ZodString>;
517
+ include: z.ZodOptional<z.ZodString>;
518
+ }, z.core.$strip>>;
519
+ cooldown: z.ZodOptional<z.ZodObject<{
520
+ 'default-days': z.ZodOptional<z.ZodNumber>;
521
+ 'semver-major-days': z.ZodOptional<z.ZodNumber>;
522
+ 'semver-minor-days': z.ZodOptional<z.ZodNumber>;
523
+ 'semver-patch-days': z.ZodOptional<z.ZodNumber>;
524
+ include: z.ZodOptional<z.ZodArray<z.ZodString>>;
525
+ exclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
526
+ }, z.core.$strip>>;
527
+ groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
528
+ IDENTIFIER: z.ZodOptional<z.ZodString>;
529
+ 'applies-to': z.ZodOptional<z.ZodEnum<{
530
+ "version-updates": "version-updates";
531
+ "security-updates": "security-updates";
532
+ }>>;
533
+ 'dependency-type': z.ZodOptional<z.ZodEnum<{
534
+ development: "development";
535
+ production: "production";
536
+ }>>;
537
+ patterns: z.ZodOptional<z.ZodArray<z.ZodString>>;
538
+ 'exclude-patterns': z.ZodOptional<z.ZodArray<z.ZodString>>;
539
+ 'update-types': z.ZodOptional<z.ZodArray<z.ZodEnum<{
540
+ major: "major";
541
+ minor: "minor";
542
+ patch: "patch";
543
+ }>>>;
544
+ }, z.core.$strip>>>;
545
+ ignore: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{
546
+ 'dependency-name': z.ZodOptional<z.ZodString>;
547
+ versions: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString>, z.ZodString]>>;
548
+ 'update-types': z.ZodOptional<z.ZodArray<z.ZodEnum<{
549
+ "version-update:semver-major": "version-update:semver-major";
550
+ "version-update:semver-minor": "version-update:semver-minor";
551
+ "version-update:semver-patch": "version-update:semver-patch";
552
+ }>>>;
553
+ }, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodAny>>>>;
554
+ 'insecure-external-code-execution': z.ZodOptional<z.ZodEnum<{
555
+ allow: "allow";
556
+ deny: "deny";
557
+ }>>;
558
+ labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
559
+ milestone: z.ZodOptional<z.ZodCoercedString<unknown>>;
560
+ 'open-pull-requests-limit': z.ZodOptional<z.ZodNumber>;
561
+ 'pull-request-branch-name': z.ZodOptional<z.ZodObject<{
562
+ separator: z.ZodOptional<z.ZodString>;
563
+ }, z.core.$strip>>;
564
+ 'rebase-strategy': z.ZodOptional<z.ZodString>;
565
+ registries: z.ZodOptional<z.ZodArray<z.ZodString>>;
566
+ schedule: z.ZodOptional<z.ZodObject<{
567
+ interval: z.ZodEnum<{
568
+ daily: "daily";
569
+ weekly: "weekly";
570
+ monthly: "monthly";
571
+ quarterly: "quarterly";
572
+ semiannually: "semiannually";
573
+ yearly: "yearly";
574
+ cron: "cron";
575
+ }>;
576
+ day: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
577
+ sunday: "sunday";
578
+ monday: "monday";
579
+ tuesday: "tuesday";
580
+ wednesday: "wednesday";
581
+ thursday: "thursday";
582
+ friday: "friday";
583
+ saturday: "saturday";
584
+ }>>>;
585
+ time: z.ZodOptional<z.ZodDefault<z.ZodString>>;
586
+ timezone: z.ZodDefault<z.ZodOptional<z.ZodString>>;
587
+ cronjob: z.ZodOptional<z.ZodString>;
588
+ }, z.core.$strip>>;
589
+ 'target-branch': z.ZodOptional<z.ZodString>;
590
+ vendor: z.ZodOptional<z.ZodBoolean>;
591
+ 'versioning-strategy': z.ZodOptional<z.ZodEnum<{
592
+ auto: "auto";
593
+ increase: "increase";
594
+ "increase-if-necessary": "increase-if-necessary";
595
+ "lockfile-only": "lockfile-only";
596
+ widen: "widen";
597
+ }>>;
598
+ }, z.core.$strip>, z.ZodTransform<{
599
+ 'package-ecosystem': "bun" | "bundler" | "cargo" | "composer" | "devcontainers" | "docker" | "helm" | "elm" | "gradle" | "maven" | "nuget" | "pip" | "pub" | "swift" | "terraform" | "uv" | "docker-compose" | "dotnet-sdk" | "mix" | "gitsubmodule" | "github-actions" | "gomod" | "npm" | "pipenv" | "pip-compile" | "poetry" | "pnpm" | "yarn";
600
+ directory?: string | undefined;
601
+ directories?: string[] | undefined;
602
+ allow?: {
603
+ 'dependency-name'?: string | undefined;
604
+ 'dependency-type'?: "development" | "production" | "direct" | "indirect" | "all" | undefined;
605
+ 'update-type'?: "all" | "security" | undefined;
606
+ }[] | undefined;
607
+ assignees?: string[] | undefined;
608
+ 'commit-message'?: {
609
+ prefix?: string | undefined;
610
+ 'prefix-development'?: string | undefined;
611
+ include?: string | undefined;
612
+ } | undefined;
613
+ cooldown?: {
614
+ 'default-days'?: number | undefined;
615
+ 'semver-major-days'?: number | undefined;
616
+ 'semver-minor-days'?: number | undefined;
617
+ 'semver-patch-days'?: number | undefined;
618
+ include?: string[] | undefined;
619
+ exclude?: string[] | undefined;
620
+ } | undefined;
621
+ groups?: Record<string, {
622
+ IDENTIFIER?: string | undefined;
623
+ 'applies-to'?: "version-updates" | "security-updates" | undefined;
624
+ 'dependency-type'?: "development" | "production" | undefined;
625
+ patterns?: string[] | undefined;
626
+ 'exclude-patterns'?: string[] | undefined;
627
+ 'update-types'?: ("major" | "minor" | "patch")[] | undefined;
628
+ }> | undefined;
629
+ ignore?: ({
630
+ 'dependency-name'?: string | undefined;
631
+ versions?: string | string[] | undefined;
632
+ 'update-types'?: ("version-update:semver-major" | "version-update:semver-minor" | "version-update:semver-patch")[] | undefined;
633
+ } & Record<string, any>)[] | undefined;
634
+ 'insecure-external-code-execution'?: "allow" | "deny" | undefined;
635
+ labels?: string[] | undefined;
636
+ milestone?: string | undefined;
637
+ 'open-pull-requests-limit'?: number | undefined;
638
+ 'pull-request-branch-name'?: {
639
+ separator?: string | undefined;
640
+ } | undefined;
641
+ 'rebase-strategy'?: string | undefined;
642
+ registries?: string[] | undefined;
643
+ schedule?: {
644
+ interval: "daily" | "weekly" | "monthly" | "quarterly" | "semiannually" | "yearly" | "cron";
645
+ day: "sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday";
646
+ timezone: string;
647
+ time?: string | undefined;
648
+ cronjob?: string | undefined;
649
+ } | undefined;
650
+ 'target-branch'?: string | undefined;
651
+ vendor?: boolean | undefined;
652
+ 'versioning-strategy'?: "auto" | "increase" | "increase-if-necessary" | "lockfile-only" | "widen" | undefined;
653
+ }, {
654
+ 'package-ecosystem': "bun" | "bundler" | "cargo" | "composer" | "devcontainers" | "docker" | "helm" | "elm" | "gradle" | "maven" | "nuget" | "pip" | "pub" | "swift" | "terraform" | "uv" | "docker-compose" | "dotnet-sdk" | "mix" | "gitsubmodule" | "github-actions" | "gomod" | "npm" | "pipenv" | "pip-compile" | "poetry" | "pnpm" | "yarn";
655
+ directory?: string | undefined;
656
+ directories?: string[] | undefined;
657
+ allow?: {
658
+ 'dependency-name'?: string | undefined;
659
+ 'dependency-type'?: "development" | "production" | "direct" | "indirect" | "all" | undefined;
660
+ 'update-type'?: "all" | "security" | undefined;
661
+ }[] | undefined;
662
+ assignees?: string[] | undefined;
663
+ 'commit-message'?: {
664
+ prefix?: string | undefined;
665
+ 'prefix-development'?: string | undefined;
666
+ include?: string | undefined;
667
+ } | undefined;
668
+ cooldown?: {
669
+ 'default-days'?: number | undefined;
670
+ 'semver-major-days'?: number | undefined;
671
+ 'semver-minor-days'?: number | undefined;
672
+ 'semver-patch-days'?: number | undefined;
673
+ include?: string[] | undefined;
674
+ exclude?: string[] | undefined;
675
+ } | undefined;
676
+ groups?: Record<string, {
677
+ IDENTIFIER?: string | undefined;
678
+ 'applies-to'?: "version-updates" | "security-updates" | undefined;
679
+ 'dependency-type'?: "development" | "production" | undefined;
680
+ patterns?: string[] | undefined;
681
+ 'exclude-patterns'?: string[] | undefined;
682
+ 'update-types'?: ("major" | "minor" | "patch")[] | undefined;
683
+ }> | undefined;
684
+ ignore?: ({
685
+ 'dependency-name'?: string | undefined;
686
+ versions?: string | string[] | undefined;
687
+ 'update-types'?: ("version-update:semver-major" | "version-update:semver-minor" | "version-update:semver-patch")[] | undefined;
688
+ } & Record<string, any>)[] | undefined;
689
+ 'insecure-external-code-execution'?: "allow" | "deny" | undefined;
690
+ labels?: string[] | undefined;
691
+ milestone?: string | undefined;
692
+ 'open-pull-requests-limit'?: number | undefined;
693
+ 'pull-request-branch-name'?: {
694
+ separator?: string | undefined;
695
+ } | undefined;
696
+ 'rebase-strategy'?: string | undefined;
697
+ registries?: string[] | undefined;
698
+ schedule?: {
699
+ interval: "daily" | "weekly" | "monthly" | "quarterly" | "semiannually" | "yearly" | "cron";
700
+ day: "sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday";
701
+ timezone: string;
702
+ time?: string | undefined;
703
+ cronjob?: string | undefined;
704
+ } | undefined;
705
+ 'target-branch'?: string | undefined;
706
+ vendor?: boolean | undefined;
707
+ 'versioning-strategy'?: "auto" | "increase" | "increase-if-necessary" | "lockfile-only" | "widen" | undefined;
708
+ }>>>;
709
+ registries: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodPipe<z.ZodObject<{
710
+ type: z.ZodEnum<{
711
+ "composer-repository": "composer-repository";
712
+ "docker-registry": "docker-registry";
713
+ git: "git";
714
+ "hex-organization": "hex-organization";
715
+ "hex-repository": "hex-repository";
716
+ "maven-repository": "maven-repository";
717
+ "npm-registry": "npm-registry";
718
+ "nuget-feed": "nuget-feed";
719
+ "python-index": "python-index";
720
+ "rubygems-server": "rubygems-server";
721
+ "terraform-registry": "terraform-registry";
722
+ }>;
723
+ url: z.ZodOptional<z.ZodString>;
724
+ username: z.ZodOptional<z.ZodString>;
725
+ password: z.ZodOptional<z.ZodString>;
726
+ key: z.ZodOptional<z.ZodString>;
727
+ token: z.ZodOptional<z.ZodString>;
728
+ 'replaces-base': z.ZodOptional<z.ZodBoolean>;
729
+ host: z.ZodOptional<z.ZodString>;
730
+ registry: z.ZodOptional<z.ZodString>;
731
+ organization: z.ZodOptional<z.ZodString>;
732
+ repo: z.ZodOptional<z.ZodString>;
733
+ 'public-key-fingerprint': z.ZodOptional<z.ZodString>;
734
+ 'index-url': z.ZodOptional<z.ZodString>;
735
+ 'auth-key': z.ZodOptional<z.ZodString>;
736
+ 'tenant-id': z.ZodOptional<z.ZodString>;
737
+ 'client-id': z.ZodOptional<z.ZodString>;
738
+ }, z.core.$strip>, z.ZodTransform<{
739
+ type: string;
740
+ url?: string | undefined;
741
+ username?: string | undefined;
742
+ password?: string | undefined;
743
+ key?: string | undefined;
744
+ token?: string | undefined;
745
+ 'replaces-base'?: boolean | undefined;
746
+ host?: string | undefined;
747
+ registry?: string | undefined;
748
+ organization?: string | undefined;
749
+ repo?: string | undefined;
750
+ 'public-key-fingerprint'?: string | undefined;
751
+ 'index-url'?: string | undefined;
752
+ 'auth-key'?: string | undefined;
753
+ 'tenant-id'?: string | undefined;
754
+ 'client-id'?: string | undefined;
755
+ }, {
756
+ type: "composer-repository" | "docker-registry" | "git" | "hex-organization" | "hex-repository" | "maven-repository" | "npm-registry" | "nuget-feed" | "python-index" | "rubygems-server" | "terraform-registry";
757
+ url?: string | undefined;
758
+ username?: string | undefined;
759
+ password?: string | undefined;
760
+ key?: string | undefined;
761
+ token?: string | undefined;
762
+ 'replaces-base'?: boolean | undefined;
763
+ host?: string | undefined;
764
+ registry?: string | undefined;
765
+ organization?: string | undefined;
766
+ repo?: string | undefined;
767
+ 'public-key-fingerprint'?: string | undefined;
768
+ 'index-url'?: string | undefined;
769
+ 'auth-key'?: string | undefined;
770
+ 'tenant-id'?: string | undefined;
771
+ 'client-id'?: string | undefined;
772
+ }>>>>;
773
+ 'enable-beta-ecosystems': z.ZodOptional<z.ZodBoolean>;
774
+ }, z.core.$strip>;
775
+ type DependabotConfig = z.infer<typeof DependabotConfigSchema>;
776
+ declare function parseUpdates(config: DependabotConfig, configPath: string): DependabotUpdate[];
777
+ declare function parseRegistries(config: DependabotConfig, variableFinder: VariableFinderFn): Promise<Record<string, DependabotRegistry>>;
778
+ declare function validateConfiguration(updates: DependabotUpdate[], registries: Record<string, DependabotRegistry>): void;
779
+ /**
780
+ * Possible paths to the dependabot config file.
781
+ * Remember to prefix with a forward slash when querying API endpoints or where necessary.
782
+ */
783
+ declare const POSSIBLE_CONFIG_FILE_PATHS: string[];
784
+ /**
785
+ * Parse the contents of a dependabot config YAML file
786
+ * @returns {DependabotConfig} config - the dependabot configuration
787
+ */
788
+ declare function parseDependabotConfig({
789
+ configContents,
790
+ configPath,
791
+ variableFinder
792
+ }: {
793
+ configContents: string;
794
+ configPath: string;
795
+ variableFinder: VariableFinderFn;
796
+ }): Promise<DependabotConfig>;
797
+ //#endregion
798
+ //#region src/dependabot/job.d.ts
799
+ declare const DependabotCredentialSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
800
+ type DependabotCredential = z.infer<typeof DependabotCredentialSchema>;
801
+ declare const CertificateAuthoritySchema: z.ZodObject<{
802
+ cert: z.ZodString;
803
+ key: z.ZodString;
804
+ }, z.core.$strip>;
805
+ type CertificateAuthority = z.infer<typeof CertificateAuthoritySchema>;
806
+ declare const DependabotProxyConfigSchema: z.ZodObject<{
807
+ all_credentials: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>;
808
+ ca: z.ZodObject<{
809
+ cert: z.ZodString;
810
+ key: z.ZodString;
811
+ }, z.core.$strip>;
812
+ }, z.core.$strip>;
813
+ type DependabotProxyConfig = z.infer<typeof DependabotProxyConfigSchema>;
814
+ declare const DependabotSourceProviderSchema: z.ZodEnum<{
815
+ azure: "azure";
816
+ }>;
817
+ type DependabotSourceProvider = z.infer<typeof DependabotSourceProviderSchema>;
818
+ declare const DependabotSourceSchema: z.ZodObject<{
819
+ provider: z.ZodEnum<{
820
+ azure: "azure";
821
+ }>;
822
+ repo: z.ZodString;
823
+ directory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
824
+ directories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
825
+ branch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
826
+ commit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
827
+ hostname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
828
+ 'api-endpoint': z.ZodOptional<z.ZodNullable<z.ZodString>>;
829
+ }, z.core.$strip>;
830
+ type DependabotSource = z.infer<typeof DependabotSourceSchema>;
831
+ declare const DependabotExistingPRSchema: z.ZodObject<{
832
+ 'dependency-name': z.ZodString;
833
+ 'dependency-version': z.ZodOptional<z.ZodNullable<z.ZodString>>;
834
+ directory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
835
+ removed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
836
+ }, z.core.$strip>;
837
+ type DependabotExistingPR = z.infer<typeof DependabotExistingPRSchema>;
838
+ declare const DependabotExistingGroupPRSchema: z.ZodObject<{
839
+ 'dependency-group-name': z.ZodString;
840
+ dependencies: z.ZodArray<z.ZodObject<{
841
+ 'dependency-name': z.ZodString;
842
+ 'dependency-version': z.ZodOptional<z.ZodNullable<z.ZodString>>;
843
+ directory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
844
+ removed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
845
+ }, z.core.$strip>>;
846
+ }, z.core.$strip>;
847
+ type DependabotExistingGroupPR = z.infer<typeof DependabotExistingGroupPRSchema>;
848
+ declare const DependabotAllowedSchema: z.ZodObject<{
849
+ 'dependency-name': z.ZodOptional<z.ZodNullable<z.ZodString>>;
850
+ 'dependency-type': z.ZodOptional<z.ZodNullable<z.ZodString>>;
851
+ 'update-type': z.ZodOptional<z.ZodEnum<{
852
+ all: "all";
853
+ security: "security";
854
+ }>>;
855
+ }, z.core.$strip>;
856
+ type DependabotAllowed = z.infer<typeof DependabotAllowedSchema>;
857
+ declare const DependabotGroupRuleJobSchema: z.ZodObject<{
858
+ patterns: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
859
+ 'exclude-patterns': z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
860
+ 'dependency-type': z.ZodOptional<z.ZodNullable<z.ZodString>>;
861
+ 'update-types': z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
862
+ }, z.core.$strip>;
863
+ type DependabotGroupRuleJob = z.infer<typeof DependabotGroupRuleJobSchema>;
864
+ declare const DependabotGroupJobSchema: z.ZodObject<{
865
+ name: z.ZodString;
866
+ 'applies-to': z.ZodOptional<z.ZodNullable<z.ZodString>>;
867
+ rules: z.ZodObject<{
868
+ patterns: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
869
+ 'exclude-patterns': z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
870
+ 'dependency-type': z.ZodOptional<z.ZodNullable<z.ZodString>>;
871
+ 'update-types': z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
872
+ }, z.core.$strip>;
873
+ }, z.core.$strip>;
874
+ type DependabotGroupJob = z.infer<typeof DependabotGroupJobSchema>;
875
+ declare const DependabotConditionSchema: z.ZodObject<{
876
+ 'dependency-name': z.ZodString;
877
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
878
+ 'update-types': z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
879
+ 'updated-at': z.ZodOptional<z.ZodNullable<z.ZodCoercedString<unknown>>>;
880
+ 'version-requirement': z.ZodOptional<z.ZodNullable<z.ZodString>>;
881
+ }, z.core.$strip>;
882
+ type DependabotCondition = z.infer<typeof DependabotConditionSchema>;
883
+ declare const DependabotSecurityAdvisorySchema: z.ZodObject<{
884
+ 'dependency-name': z.ZodString;
885
+ 'affected-versions': z.ZodArray<z.ZodString>;
886
+ 'patched-versions': z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
887
+ 'unaffected-versions': z.ZodArray<z.ZodString>;
888
+ }, z.core.$strip>;
889
+ type DependabotSecurityAdvisory = z.infer<typeof DependabotSecurityAdvisorySchema>;
890
+ declare const DependabotRequirementSourceSchema: z.ZodRecord<z.ZodString, z.ZodAny>;
891
+ type DependabotRequirementSource = z.infer<typeof DependabotRequirementSourceSchema>;
892
+ declare const DependabotRequirementSchema: z.ZodObject<{
893
+ file: z.ZodOptional<z.ZodNullable<z.ZodString>>;
894
+ groups: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
895
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
896
+ requirement: z.ZodOptional<z.ZodNullable<z.ZodString>>;
897
+ source: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
898
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
899
+ 'previous-version': z.ZodOptional<z.ZodNullable<z.ZodString>>;
900
+ }, z.core.$strip>;
901
+ type DependabotRequirement = z.infer<typeof DependabotRequirementSchema>;
902
+ declare const DependabotDependencySchema: z.ZodObject<{
903
+ name: z.ZodString;
904
+ 'previous-requirements': z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
905
+ file: z.ZodOptional<z.ZodNullable<z.ZodString>>;
906
+ groups: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
907
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
908
+ requirement: z.ZodOptional<z.ZodNullable<z.ZodString>>;
909
+ source: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
910
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
911
+ 'previous-version': z.ZodOptional<z.ZodNullable<z.ZodString>>;
912
+ }, z.core.$strip>>>>;
913
+ 'previous-version': z.ZodOptional<z.ZodNullable<z.ZodString>>;
914
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
915
+ requirements: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
916
+ file: z.ZodOptional<z.ZodNullable<z.ZodString>>;
917
+ groups: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
918
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
919
+ requirement: z.ZodOptional<z.ZodNullable<z.ZodString>>;
920
+ source: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
921
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
922
+ 'previous-version': z.ZodOptional<z.ZodNullable<z.ZodString>>;
923
+ }, z.core.$strip>>>>;
924
+ removed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
925
+ directory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
926
+ }, z.core.$strip>;
927
+ type DependabotDependency = z.infer<typeof DependabotDependencySchema>;
928
+ declare const DependabotCommitOptionsSchema: z.ZodObject<{
929
+ prefix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
930
+ 'prefix-development': z.ZodOptional<z.ZodNullable<z.ZodString>>;
931
+ 'include-scope': z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
932
+ }, z.core.$strip>;
933
+ type DependabotCommitOptions = z.infer<typeof DependabotCommitOptionsSchema>;
934
+ declare const DependabotExperimentsSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>;
935
+ type DependabotExperiments = z.infer<typeof DependabotExperimentsSchema>;
936
+ declare const DependabotPackageManagerSchema: z.ZodEnum<{
937
+ bun: "bun";
938
+ bundler: "bundler";
939
+ cargo: "cargo";
940
+ composer: "composer";
941
+ devcontainers: "devcontainers";
942
+ docker: "docker";
943
+ docker_compose: "docker_compose";
944
+ dotnet_sdk: "dotnet_sdk";
945
+ helm: "helm";
946
+ hex: "hex";
947
+ elm: "elm";
948
+ submodules: "submodules";
949
+ github_actions: "github_actions";
950
+ go_modules: "go_modules";
951
+ gradle: "gradle";
952
+ maven: "maven";
953
+ npm_and_yarn: "npm_and_yarn";
954
+ nuget: "nuget";
955
+ pip: "pip";
956
+ pub: "pub";
957
+ swift: "swift";
958
+ terraform: "terraform";
959
+ uv: "uv";
960
+ }>;
961
+ type DependabotPackageManager = z.infer<typeof DependabotPackageManagerSchema>;
962
+ declare const DependabotCommandSchema: z.ZodEnum<{
963
+ version: "version";
964
+ graph: "graph";
965
+ recreate: "recreate";
966
+ }>;
967
+ type DependabotCommand = z.infer<typeof DependabotCommandSchema>;
968
+ declare const DependabotJobConfigSchema: z.ZodObject<{
969
+ id: z.ZodOptional<z.ZodNumber>;
970
+ command: z.ZodOptional<z.ZodEnum<{
971
+ version: "version";
972
+ graph: "graph";
973
+ recreate: "recreate";
974
+ }>>;
975
+ 'package-manager': z.ZodEnum<{
976
+ bun: "bun";
977
+ bundler: "bundler";
978
+ cargo: "cargo";
979
+ composer: "composer";
980
+ devcontainers: "devcontainers";
981
+ docker: "docker";
982
+ docker_compose: "docker_compose";
983
+ dotnet_sdk: "dotnet_sdk";
984
+ helm: "helm";
985
+ hex: "hex";
986
+ elm: "elm";
987
+ submodules: "submodules";
988
+ github_actions: "github_actions";
989
+ go_modules: "go_modules";
990
+ gradle: "gradle";
991
+ maven: "maven";
992
+ npm_and_yarn: "npm_and_yarn";
993
+ nuget: "nuget";
994
+ pip: "pip";
995
+ pub: "pub";
996
+ swift: "swift";
997
+ terraform: "terraform";
998
+ uv: "uv";
999
+ }>;
1000
+ 'allowed-updates': z.ZodArray<z.ZodObject<{
1001
+ 'dependency-name': z.ZodOptional<z.ZodNullable<z.ZodString>>;
1002
+ 'dependency-type': z.ZodOptional<z.ZodNullable<z.ZodString>>;
1003
+ 'update-type': z.ZodOptional<z.ZodEnum<{
1004
+ all: "all";
1005
+ security: "security";
1006
+ }>>;
1007
+ }, z.core.$strip>>;
1008
+ debug: z.ZodNullable<z.ZodBoolean>;
1009
+ 'dependency-groups': z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
1010
+ name: z.ZodString;
1011
+ 'applies-to': z.ZodOptional<z.ZodNullable<z.ZodString>>;
1012
+ rules: z.ZodObject<{
1013
+ patterns: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1014
+ 'exclude-patterns': z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1015
+ 'dependency-type': z.ZodOptional<z.ZodNullable<z.ZodString>>;
1016
+ 'update-types': z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1017
+ }, z.core.$strip>;
1018
+ }, z.core.$strip>>>>;
1019
+ dependencies: z.ZodNullable<z.ZodArray<z.ZodString>>;
1020
+ 'dependency-group-to-refresh': z.ZodOptional<z.ZodNullable<z.ZodString>>;
1021
+ 'existing-pull-requests': z.ZodArray<z.ZodArray<z.ZodObject<{
1022
+ 'dependency-name': z.ZodString;
1023
+ 'dependency-version': z.ZodOptional<z.ZodNullable<z.ZodString>>;
1024
+ directory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1025
+ removed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1026
+ }, z.core.$strip>>>;
1027
+ 'existing-group-pull-requests': z.ZodArray<z.ZodObject<{
1028
+ 'dependency-group-name': z.ZodString;
1029
+ dependencies: z.ZodArray<z.ZodObject<{
1030
+ 'dependency-name': z.ZodString;
1031
+ 'dependency-version': z.ZodOptional<z.ZodNullable<z.ZodString>>;
1032
+ directory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1033
+ removed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1034
+ }, z.core.$strip>>;
1035
+ }, z.core.$strip>>;
1036
+ experiments: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>;
1037
+ 'ignore-conditions': z.ZodArray<z.ZodObject<{
1038
+ 'dependency-name': z.ZodString;
1039
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1040
+ 'update-types': z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1041
+ 'updated-at': z.ZodOptional<z.ZodNullable<z.ZodCoercedString<unknown>>>;
1042
+ 'version-requirement': z.ZodOptional<z.ZodNullable<z.ZodString>>;
1043
+ }, z.core.$strip>>;
1044
+ 'lockfile-only': z.ZodBoolean;
1045
+ 'requirements-update-strategy': z.ZodNullable<z.ZodString>;
1046
+ 'security-advisories': z.ZodArray<z.ZodObject<{
1047
+ 'dependency-name': z.ZodString;
1048
+ 'affected-versions': z.ZodArray<z.ZodString>;
1049
+ 'patched-versions': z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1050
+ 'unaffected-versions': z.ZodArray<z.ZodString>;
1051
+ }, z.core.$strip>>;
1052
+ 'security-updates-only': z.ZodBoolean;
1053
+ source: z.ZodObject<{
1054
+ provider: z.ZodEnum<{
1055
+ azure: "azure";
1056
+ }>;
1057
+ repo: z.ZodString;
1058
+ directory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1059
+ directories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1060
+ branch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1061
+ commit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1062
+ hostname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1063
+ 'api-endpoint': z.ZodOptional<z.ZodNullable<z.ZodString>>;
1064
+ }, z.core.$strip>;
1065
+ 'update-subdependencies': z.ZodBoolean;
1066
+ 'updating-a-pull-request': z.ZodBoolean;
1067
+ 'vendor-dependencies': z.ZodBoolean;
1068
+ 'reject-external-code': z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1069
+ 'repo-private': z.ZodBoolean;
1070
+ 'commit-message-options': z.ZodObject<{
1071
+ prefix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1072
+ 'prefix-development': z.ZodOptional<z.ZodNullable<z.ZodString>>;
1073
+ 'include-scope': z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1074
+ }, z.core.$strip>;
1075
+ 'credentials-metadata': z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
1076
+ 'max-updater-run-time': z.ZodOptional<z.ZodNullable<z.ZodInt>>;
1077
+ cooldown: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1078
+ 'default-days': z.ZodOptional<z.ZodNumber>;
1079
+ 'semver-major-days': z.ZodOptional<z.ZodNumber>;
1080
+ 'semver-minor-days': z.ZodOptional<z.ZodNumber>;
1081
+ 'semver-patch-days': z.ZodOptional<z.ZodNumber>;
1082
+ include: z.ZodOptional<z.ZodArray<z.ZodString>>;
1083
+ exclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
1084
+ }, z.core.$strip>>>;
1085
+ 'proxy-log-response-body-on-auth-failure': z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1086
+ 'enable-beta-ecosystems': z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1087
+ 'multi-ecosystem-update': z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1088
+ }, z.core.$strip>;
1089
+ type DependabotJobConfig = z.infer<typeof DependabotJobConfigSchema>;
1090
+ declare const DependabotJobFileSchema: z.ZodObject<{
1091
+ job: z.ZodObject<{
1092
+ id: z.ZodOptional<z.ZodNumber>;
1093
+ command: z.ZodOptional<z.ZodEnum<{
1094
+ version: "version";
1095
+ graph: "graph";
1096
+ recreate: "recreate";
1097
+ }>>;
1098
+ 'package-manager': z.ZodEnum<{
1099
+ bun: "bun";
1100
+ bundler: "bundler";
1101
+ cargo: "cargo";
1102
+ composer: "composer";
1103
+ devcontainers: "devcontainers";
1104
+ docker: "docker";
1105
+ docker_compose: "docker_compose";
1106
+ dotnet_sdk: "dotnet_sdk";
1107
+ helm: "helm";
1108
+ hex: "hex";
1109
+ elm: "elm";
1110
+ submodules: "submodules";
1111
+ github_actions: "github_actions";
1112
+ go_modules: "go_modules";
1113
+ gradle: "gradle";
1114
+ maven: "maven";
1115
+ npm_and_yarn: "npm_and_yarn";
1116
+ nuget: "nuget";
1117
+ pip: "pip";
1118
+ pub: "pub";
1119
+ swift: "swift";
1120
+ terraform: "terraform";
1121
+ uv: "uv";
1122
+ }>;
1123
+ 'allowed-updates': z.ZodArray<z.ZodObject<{
1124
+ 'dependency-name': z.ZodOptional<z.ZodNullable<z.ZodString>>;
1125
+ 'dependency-type': z.ZodOptional<z.ZodNullable<z.ZodString>>;
1126
+ 'update-type': z.ZodOptional<z.ZodEnum<{
1127
+ all: "all";
1128
+ security: "security";
1129
+ }>>;
1130
+ }, z.core.$strip>>;
1131
+ debug: z.ZodNullable<z.ZodBoolean>;
1132
+ 'dependency-groups': z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
1133
+ name: z.ZodString;
1134
+ 'applies-to': z.ZodOptional<z.ZodNullable<z.ZodString>>;
1135
+ rules: z.ZodObject<{
1136
+ patterns: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1137
+ 'exclude-patterns': z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1138
+ 'dependency-type': z.ZodOptional<z.ZodNullable<z.ZodString>>;
1139
+ 'update-types': z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1140
+ }, z.core.$strip>;
1141
+ }, z.core.$strip>>>>;
1142
+ dependencies: z.ZodNullable<z.ZodArray<z.ZodString>>;
1143
+ 'dependency-group-to-refresh': z.ZodOptional<z.ZodNullable<z.ZodString>>;
1144
+ 'existing-pull-requests': z.ZodArray<z.ZodArray<z.ZodObject<{
1145
+ 'dependency-name': z.ZodString;
1146
+ 'dependency-version': z.ZodOptional<z.ZodNullable<z.ZodString>>;
1147
+ directory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1148
+ removed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1149
+ }, z.core.$strip>>>;
1150
+ 'existing-group-pull-requests': z.ZodArray<z.ZodObject<{
1151
+ 'dependency-group-name': z.ZodString;
1152
+ dependencies: z.ZodArray<z.ZodObject<{
1153
+ 'dependency-name': z.ZodString;
1154
+ 'dependency-version': z.ZodOptional<z.ZodNullable<z.ZodString>>;
1155
+ directory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1156
+ removed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1157
+ }, z.core.$strip>>;
1158
+ }, z.core.$strip>>;
1159
+ experiments: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>;
1160
+ 'ignore-conditions': z.ZodArray<z.ZodObject<{
1161
+ 'dependency-name': z.ZodString;
1162
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1163
+ 'update-types': z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1164
+ 'updated-at': z.ZodOptional<z.ZodNullable<z.ZodCoercedString<unknown>>>;
1165
+ 'version-requirement': z.ZodOptional<z.ZodNullable<z.ZodString>>;
1166
+ }, z.core.$strip>>;
1167
+ 'lockfile-only': z.ZodBoolean;
1168
+ 'requirements-update-strategy': z.ZodNullable<z.ZodString>;
1169
+ 'security-advisories': z.ZodArray<z.ZodObject<{
1170
+ 'dependency-name': z.ZodString;
1171
+ 'affected-versions': z.ZodArray<z.ZodString>;
1172
+ 'patched-versions': z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1173
+ 'unaffected-versions': z.ZodArray<z.ZodString>;
1174
+ }, z.core.$strip>>;
1175
+ 'security-updates-only': z.ZodBoolean;
1176
+ source: z.ZodObject<{
1177
+ provider: z.ZodEnum<{
1178
+ azure: "azure";
1179
+ }>;
1180
+ repo: z.ZodString;
1181
+ directory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1182
+ directories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1183
+ branch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1184
+ commit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1185
+ hostname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1186
+ 'api-endpoint': z.ZodOptional<z.ZodNullable<z.ZodString>>;
1187
+ }, z.core.$strip>;
1188
+ 'update-subdependencies': z.ZodBoolean;
1189
+ 'updating-a-pull-request': z.ZodBoolean;
1190
+ 'vendor-dependencies': z.ZodBoolean;
1191
+ 'reject-external-code': z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1192
+ 'repo-private': z.ZodBoolean;
1193
+ 'commit-message-options': z.ZodObject<{
1194
+ prefix: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1195
+ 'prefix-development': z.ZodOptional<z.ZodNullable<z.ZodString>>;
1196
+ 'include-scope': z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1197
+ }, z.core.$strip>;
1198
+ 'credentials-metadata': z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
1199
+ 'max-updater-run-time': z.ZodOptional<z.ZodNullable<z.ZodInt>>;
1200
+ cooldown: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1201
+ 'default-days': z.ZodOptional<z.ZodNumber>;
1202
+ 'semver-major-days': z.ZodOptional<z.ZodNumber>;
1203
+ 'semver-minor-days': z.ZodOptional<z.ZodNumber>;
1204
+ 'semver-patch-days': z.ZodOptional<z.ZodNumber>;
1205
+ include: z.ZodOptional<z.ZodArray<z.ZodString>>;
1206
+ exclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
1207
+ }, z.core.$strip>>>;
1208
+ 'proxy-log-response-body-on-auth-failure': z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1209
+ 'enable-beta-ecosystems': z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1210
+ 'multi-ecosystem-update': z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1211
+ }, z.core.$strip>;
1212
+ }, z.core.$strip>;
1213
+ type DependabotJobFile = z.infer<typeof DependabotJobFileSchema>;
1214
+ type FetchedFiles = {
1215
+ base_commit_sha: string;
1216
+ dependency_files: any[];
1217
+ base64_dependency_files: any[];
1218
+ };
1219
+ type FileFetcherInput = {
1220
+ job: DependabotJobConfig;
1221
+ };
1222
+ type FileUpdaterInput = FetchedFiles & {
1223
+ job: DependabotJobConfig;
1224
+ };
1225
+ //#endregion
1226
+ //#region src/dependabot/branch-name.d.ts
1227
+ declare function getBranchNameForUpdate(packageEcosystem: PackageEcosystem, targetBranchName: string | undefined, directory: string | undefined, dependencyGroupName: string | undefined, dependencies: DependabotExistingPR[], separator?: string): string;
1228
+ declare function sanitizeRef(refParts: (string | undefined)[], separator: string): string;
1229
+ //#endregion
1230
+ //#region src/dependabot/experiments.d.ts
1231
+ declare const DEFAULT_EXPERIMENTS: DependabotExperiments;
1232
+ /**
1233
+ * Parses a comma-separated list of key=value pairs representing experiments.
1234
+ * @param raw A comma-separated list of key=value pairs representing experiments.
1235
+ * @returns A map of experiment names to their values.
1236
+ */
1237
+ declare function parseExperiments(raw?: string): DependabotExperiments | undefined;
1238
+ //#endregion
1239
+ //#region src/dependabot/job-builder.d.ts
1240
+ type DependabotSourceInfo = {
1241
+ provider: DependabotSourceProvider;
1242
+ hostname: string;
1243
+ 'api-endpoint': string;
1244
+ 'repository-slug': string;
1245
+ };
1246
+ type DependabotJobBuilderOutput = {
1247
+ jobId: number;
1248
+ job: DependabotJobConfig;
1249
+ credentials: DependabotCredential[];
1250
+ };
1251
+ /**
1252
+ * Class for building dependabot job objects
1253
+ */
1254
+ declare class DependabotJobBuilder {
1255
+ private readonly config;
1256
+ private readonly update;
1257
+ private readonly experiments;
1258
+ private readonly debug;
1259
+ private readonly packageManager;
1260
+ private readonly source;
1261
+ private readonly credentials;
1262
+ constructor({
1263
+ source,
1264
+ config,
1265
+ update,
1266
+ systemAccessUser,
1267
+ systemAccessToken,
1268
+ githubToken,
1269
+ experiments,
1270
+ debug
1271
+ }: {
1272
+ source: DependabotSourceInfo;
1273
+ config: DependabotConfig;
1274
+ update: DependabotUpdate;
1275
+ experiments: DependabotExperiments;
1276
+ systemAccessUser?: string;
1277
+ systemAccessToken?: string;
1278
+ githubToken?: string;
1279
+ /** Determines if verbose log messages are logged */
1280
+ debug: boolean;
1281
+ });
1282
+ /**
1283
+ * Create a dependabot update job that updates nothing, but will discover the dependency list for a package ecosystem
1284
+ */
1285
+ forDependenciesList({
1286
+ id,
1287
+ command
1288
+ }: {
1289
+ id?: number;
1290
+ command: DependabotJobConfig['command'];
1291
+ }): DependabotJobBuilderOutput;
1292
+ /**
1293
+ * Create a dependabot update job that updates all dependencies for a package ecosystem
1294
+ */
1295
+ forUpdate({
1296
+ id,
1297
+ command,
1298
+ dependencyNamesToUpdate,
1299
+ existingPullRequests,
1300
+ pullRequestToUpdate,
1301
+ securityVulnerabilities
1302
+ }: {
1303
+ id?: number;
1304
+ command: DependabotJobConfig['command'];
1305
+ dependencyNamesToUpdate?: string[];
1306
+ existingPullRequests: (DependabotExistingPR[] | DependabotExistingGroupPR)[];
1307
+ pullRequestToUpdate?: DependabotExistingPR[] | DependabotExistingGroupPR;
1308
+ securityVulnerabilities?: SecurityVulnerability[];
1309
+ }): DependabotJobBuilderOutput;
1310
+ }
1311
+ declare function mapPackageEcosystemToPackageManager(ecosystem: PackageEcosystem): DependabotPackageManager;
1312
+ declare function mapSourceFromDependabotConfigToJobConfig(source: DependabotSourceInfo, update: DependabotUpdate): DependabotSource;
1313
+ declare function mapVersionStrategyToRequirementsUpdateStrategy(strategy?: VersioningStrategy): string | null;
1314
+ declare function mapGroupsFromDependabotConfigToJobConfig(dependencyGroups?: Record<string, DependabotGroup | null>): DependabotGroupJob[];
1315
+ declare function mapAllowedUpdatesFromDependabotConfigToJobConfig(allowedUpdates?: DependabotAllowCondition[], securityOnlyUpdate?: boolean): DependabotAllowed[];
1316
+ declare function mapIgnoreConditionsFromDependabotConfigToJobConfig(ignoreConditions?: DependabotIgnoreCondition[]): DependabotCondition[];
1317
+ declare function mapExperiments(experiments?: DependabotExperiments): DependabotExperiments;
1318
+ declare function mapSecurityAdvisories(securityVulnerabilities?: SecurityVulnerability[]): DependabotSecurityAdvisory[];
1319
+ declare function mapCredentials({
1320
+ sourceHostname,
1321
+ systemAccessUser,
1322
+ systemAccessToken,
1323
+ githubToken,
1324
+ registries
1325
+ }: {
1326
+ sourceHostname: string;
1327
+ systemAccessUser?: string;
1328
+ systemAccessToken?: string;
1329
+ githubToken?: string;
1330
+ registries?: Record<string, DependabotRegistry>;
1331
+ }): DependabotCredential[];
1332
+ declare function makeRandomJobId(): number;
1333
+ declare function makeRandomJobToken(): string;
1334
+ //#endregion
1335
+ //#region src/dependabot/server.d.ts
1336
+ declare const DependabotRequestTypeSchema: z.ZodEnum<{
1337
+ create_pull_request: "create_pull_request";
1338
+ update_pull_request: "update_pull_request";
1339
+ close_pull_request: "close_pull_request";
1340
+ record_update_job_error: "record_update_job_error";
1341
+ record_update_job_unknown_error: "record_update_job_unknown_error";
1342
+ mark_as_processed: "mark_as_processed";
1343
+ update_dependency_list: "update_dependency_list";
1344
+ record_ecosystem_versions: "record_ecosystem_versions";
1345
+ record_ecosystem_meta: "record_ecosystem_meta";
1346
+ increment_metric: "increment_metric";
1347
+ record_metrics: "record_metrics";
1348
+ }>;
1349
+ type DependabotRequestType = z.infer<typeof DependabotRequestTypeSchema>;
1350
+ declare const DependabotRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1351
+ type: z.ZodLiteral<"create_pull_request">;
1352
+ data: z.ZodObject<{
1353
+ 'base-commit-sha': z.ZodString;
1354
+ dependencies: z.ZodArray<z.ZodObject<{
1355
+ name: z.ZodString;
1356
+ 'previous-requirements': z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
1357
+ file: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1358
+ groups: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1359
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1360
+ requirement: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1361
+ source: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1362
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1363
+ 'previous-version': z.ZodOptional<z.ZodNullable<z.ZodString>>;
1364
+ }, z.core.$strip>>>>;
1365
+ 'previous-version': z.ZodOptional<z.ZodNullable<z.ZodString>>;
1366
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1367
+ requirements: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
1368
+ file: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1369
+ groups: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1370
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1371
+ requirement: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1372
+ source: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1373
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1374
+ 'previous-version': z.ZodOptional<z.ZodNullable<z.ZodString>>;
1375
+ }, z.core.$strip>>>>;
1376
+ removed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1377
+ directory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1378
+ }, z.core.$strip>>;
1379
+ 'updated-dependency-files': z.ZodArray<z.ZodObject<{
1380
+ content: z.ZodString;
1381
+ content_encoding: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1382
+ deleted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1383
+ directory: z.ZodString;
1384
+ name: z.ZodString;
1385
+ operation: z.ZodString;
1386
+ support_file: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1387
+ symlink_target: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1388
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1389
+ mode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1390
+ }, z.core.$strip>>;
1391
+ 'pr-title': z.ZodString;
1392
+ 'pr-body': z.ZodOptional<z.ZodNullable<z.ZodString>>;
1393
+ 'commit-message': z.ZodString;
1394
+ 'dependency-group': z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1395
+ }, z.core.$strip>;
1396
+ }, z.core.$strip>, z.ZodObject<{
1397
+ type: z.ZodLiteral<"update_pull_request">;
1398
+ data: z.ZodObject<{
1399
+ 'base-commit-sha': z.ZodString;
1400
+ 'dependency-names': z.ZodArray<z.ZodString>;
1401
+ 'updated-dependency-files': z.ZodArray<z.ZodObject<{
1402
+ content: z.ZodString;
1403
+ content_encoding: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1404
+ deleted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1405
+ directory: z.ZodString;
1406
+ name: z.ZodString;
1407
+ operation: z.ZodString;
1408
+ support_file: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1409
+ symlink_target: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1410
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1411
+ mode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1412
+ }, z.core.$strip>>;
1413
+ 'pr-title': z.ZodOptional<z.ZodNullable<z.ZodString>>;
1414
+ 'pr-body': z.ZodOptional<z.ZodNullable<z.ZodString>>;
1415
+ 'commit-message': z.ZodOptional<z.ZodNullable<z.ZodString>>;
1416
+ 'dependency-group': z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1417
+ }, z.core.$strip>;
1418
+ }, z.core.$strip>, z.ZodObject<{
1419
+ type: z.ZodLiteral<"close_pull_request">;
1420
+ data: z.ZodObject<{
1421
+ 'dependency-names': z.ZodArray<z.ZodString>;
1422
+ reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1423
+ }, z.core.$strip>;
1424
+ }, z.core.$strip>, z.ZodObject<{
1425
+ type: z.ZodLiteral<"record_update_job_error">;
1426
+ data: z.ZodObject<{
1427
+ 'error-type': z.ZodString;
1428
+ 'error-details': z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1429
+ }, z.core.$strip>;
1430
+ }, z.core.$strip>, z.ZodObject<{
1431
+ type: z.ZodLiteral<"record_update_job_unknown_error">;
1432
+ data: z.ZodObject<{
1433
+ 'error-type': z.ZodString;
1434
+ 'error-details': z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1435
+ }, z.core.$strip>;
1436
+ }, z.core.$strip>, z.ZodObject<{
1437
+ type: z.ZodLiteral<"mark_as_processed">;
1438
+ data: z.ZodObject<{
1439
+ 'base-commit-sha': z.ZodOptional<z.ZodNullable<z.ZodString>>;
1440
+ }, z.core.$strip>;
1441
+ }, z.core.$strip>, z.ZodObject<{
1442
+ type: z.ZodLiteral<"update_dependency_list">;
1443
+ data: z.ZodObject<{
1444
+ dependencies: z.ZodArray<z.ZodObject<{
1445
+ name: z.ZodString;
1446
+ 'previous-requirements': z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
1447
+ file: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1448
+ groups: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1449
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1450
+ requirement: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1451
+ source: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1452
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1453
+ 'previous-version': z.ZodOptional<z.ZodNullable<z.ZodString>>;
1454
+ }, z.core.$strip>>>>;
1455
+ 'previous-version': z.ZodOptional<z.ZodNullable<z.ZodString>>;
1456
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1457
+ requirements: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
1458
+ file: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1459
+ groups: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1460
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1461
+ requirement: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1462
+ source: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1463
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1464
+ 'previous-version': z.ZodOptional<z.ZodNullable<z.ZodString>>;
1465
+ }, z.core.$strip>>>>;
1466
+ removed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1467
+ directory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1468
+ }, z.core.$strip>>;
1469
+ dependency_files: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1470
+ }, z.core.$strip>;
1471
+ }, z.core.$strip>, z.ZodObject<{
1472
+ type: z.ZodLiteral<"record_ecosystem_versions">;
1473
+ data: z.ZodObject<{
1474
+ ecosystem_versions: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1475
+ }, z.core.$strip>;
1476
+ }, z.core.$strip>, z.ZodObject<{
1477
+ type: z.ZodLiteral<"record_ecosystem_meta">;
1478
+ data: z.ZodArray<z.ZodObject<{
1479
+ ecosystem: z.ZodObject<{
1480
+ name: z.ZodString;
1481
+ package_manager: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1482
+ name: z.ZodString;
1483
+ version: z.ZodString;
1484
+ raw_version: z.ZodString;
1485
+ requirement: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1486
+ }, z.core.$strip>>>;
1487
+ version: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1488
+ name: z.ZodString;
1489
+ version: z.ZodString;
1490
+ raw_version: z.ZodString;
1491
+ requirement: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1492
+ }, z.core.$strip>>>;
1493
+ }, z.core.$strip>;
1494
+ }, z.core.$strip>>;
1495
+ }, z.core.$strip>, z.ZodObject<{
1496
+ type: z.ZodLiteral<"increment_metric">;
1497
+ data: z.ZodObject<{
1498
+ metric: z.ZodString;
1499
+ tags: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1500
+ }, z.core.$strip>;
1501
+ }, z.core.$strip>, z.ZodObject<{
1502
+ type: z.ZodLiteral<"record_metrics">;
1503
+ data: z.ZodArray<z.ZodObject<{
1504
+ metric: z.ZodString;
1505
+ type: z.ZodEnum<{
1506
+ increment: "increment";
1507
+ gauge: "gauge";
1508
+ distribution: "distribution";
1509
+ histogram: "histogram";
1510
+ }>;
1511
+ value: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1512
+ values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
1513
+ tags: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
1514
+ }, z.core.$strip>>;
1515
+ }, z.core.$strip>], "type">;
1516
+ type DependabotRequest = z.infer<typeof DependabotRequestSchema>;
1517
+ type DependabotTokenType = 'job' | 'credentials';
1518
+ /**
1519
+ * Function type for authenticating requests.
1520
+ * @param type - The type of authentication ('job' or 'credentials').
1521
+ * @param id - The ID of the dependabot job.
1522
+ * @param value - The authentication value (e.g., API key).
1523
+ * @returns A promise that resolves to a boolean indicating whether the authentication was successful.
1524
+ */
1525
+ type AuthenticatorFunc = (type: DependabotTokenType, id: number, value: string) => Promise<boolean>;
1526
+ /**
1527
+ * Handler function for processing dependabot requests.
1528
+ * @param id - The ID of the dependabot job.
1529
+ * @param request - The dependabot request to handle.
1530
+ * @returns A promise that resolves to the result of handling the request.
1531
+ */
1532
+ type HandlerFunc = (id: number, request: DependabotRequest) => Promise<boolean>;
1533
+ type CreateApiServerAppOptions = {
1534
+ /**
1535
+ * Base path for the endpoints.
1536
+ * @default `/api/update_jobs`
1537
+ */
1538
+ basePath?: string;
1539
+ /** Handler function for authenticating requests. */
1540
+ authenticate: AuthenticatorFunc;
1541
+ /** Function for getting a dependabot job by ID. */
1542
+ getJob: (id: number) => Promise<DependabotJobConfig | undefined>;
1543
+ /** Function for getting dependabot credentials by job ID. */
1544
+ getCredentials: (id: number) => Promise<DependabotCredential[] | undefined>;
1545
+ /** Handler function for processing the operations. */
1546
+ handle: HandlerFunc;
1547
+ };
1548
+ /**
1549
+ * Creates an API server application for handling dependabot update jobs.
1550
+ * The endpoints in the server application have paths in the format: `/api/update_jobs/:id/{operation}`,
1551
+ * where `:id` is the job ID and `{operation}` is one of the defined operations e.g. `create_pull_request`.
1552
+ *
1553
+ * You should set the job endpoint URL in the job container to
1554
+ * `http://<host>:<port>/api/update_jobs/:id` where `<host>` and `<port>` are the host and port
1555
+ *
1556
+ * These endpoints are protected using the provided API key.
1557
+ * @param params - The parameters for creating the API server application.
1558
+ * @returns The created API server application.
1559
+ */
1560
+ declare function createApiServerApp({
1561
+ basePath,
1562
+ authenticate,
1563
+ getJob,
1564
+ getCredentials,
1565
+ handle
1566
+ }: CreateApiServerAppOptions): Hono;
1567
+ //#endregion
1568
+ //#region src/dependabot/update.d.ts
1569
+ declare const DependabotDependencyFileSchema: z.ZodObject<{
1570
+ content: z.ZodString;
1571
+ content_encoding: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1572
+ deleted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1573
+ directory: z.ZodString;
1574
+ name: z.ZodString;
1575
+ operation: z.ZodString;
1576
+ support_file: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1577
+ symlink_target: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1578
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1579
+ mode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1580
+ }, z.core.$strip>;
1581
+ type DependabotDependencyFile = z.infer<typeof DependabotDependencyFileSchema>;
1582
+ declare const DependabotUpdateDependencyListSchema: z.ZodObject<{
1583
+ dependencies: z.ZodArray<z.ZodObject<{
1584
+ name: z.ZodString;
1585
+ 'previous-requirements': z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
1586
+ file: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1587
+ groups: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1588
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1589
+ requirement: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1590
+ source: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1591
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1592
+ 'previous-version': z.ZodOptional<z.ZodNullable<z.ZodString>>;
1593
+ }, z.core.$strip>>>>;
1594
+ 'previous-version': z.ZodOptional<z.ZodNullable<z.ZodString>>;
1595
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1596
+ requirements: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
1597
+ file: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1598
+ groups: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1599
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1600
+ requirement: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1601
+ source: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1602
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1603
+ 'previous-version': z.ZodOptional<z.ZodNullable<z.ZodString>>;
1604
+ }, z.core.$strip>>>>;
1605
+ removed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1606
+ directory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1607
+ }, z.core.$strip>>;
1608
+ dependency_files: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1609
+ }, z.core.$strip>;
1610
+ type DependabotUpdateDependencyList = z.infer<typeof DependabotUpdateDependencyListSchema>;
1611
+ declare const DependabotCreatePullRequestSchema: z.ZodObject<{
1612
+ 'base-commit-sha': z.ZodString;
1613
+ dependencies: z.ZodArray<z.ZodObject<{
1614
+ name: z.ZodString;
1615
+ 'previous-requirements': z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
1616
+ file: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1617
+ groups: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1618
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1619
+ requirement: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1620
+ source: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1621
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1622
+ 'previous-version': z.ZodOptional<z.ZodNullable<z.ZodString>>;
1623
+ }, z.core.$strip>>>>;
1624
+ 'previous-version': z.ZodOptional<z.ZodNullable<z.ZodString>>;
1625
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1626
+ requirements: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
1627
+ file: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1628
+ groups: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1629
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1630
+ requirement: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1631
+ source: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1632
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1633
+ 'previous-version': z.ZodOptional<z.ZodNullable<z.ZodString>>;
1634
+ }, z.core.$strip>>>>;
1635
+ removed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1636
+ directory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1637
+ }, z.core.$strip>>;
1638
+ 'updated-dependency-files': z.ZodArray<z.ZodObject<{
1639
+ content: z.ZodString;
1640
+ content_encoding: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1641
+ deleted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1642
+ directory: z.ZodString;
1643
+ name: z.ZodString;
1644
+ operation: z.ZodString;
1645
+ support_file: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1646
+ symlink_target: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1647
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1648
+ mode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1649
+ }, z.core.$strip>>;
1650
+ 'pr-title': z.ZodString;
1651
+ 'pr-body': z.ZodOptional<z.ZodNullable<z.ZodString>>;
1652
+ 'commit-message': z.ZodString;
1653
+ 'dependency-group': z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1654
+ }, z.core.$strip>;
1655
+ type DependabotCreatePullRequest = z.infer<typeof DependabotCreatePullRequestSchema>;
1656
+ declare const DependabotUpdatePullRequestSchema: z.ZodObject<{
1657
+ 'base-commit-sha': z.ZodString;
1658
+ 'dependency-names': z.ZodArray<z.ZodString>;
1659
+ 'updated-dependency-files': z.ZodArray<z.ZodObject<{
1660
+ content: z.ZodString;
1661
+ content_encoding: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1662
+ deleted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1663
+ directory: z.ZodString;
1664
+ name: z.ZodString;
1665
+ operation: z.ZodString;
1666
+ support_file: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1667
+ symlink_target: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1668
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1669
+ mode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1670
+ }, z.core.$strip>>;
1671
+ 'pr-title': z.ZodOptional<z.ZodNullable<z.ZodString>>;
1672
+ 'pr-body': z.ZodOptional<z.ZodNullable<z.ZodString>>;
1673
+ 'commit-message': z.ZodOptional<z.ZodNullable<z.ZodString>>;
1674
+ 'dependency-group': z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1675
+ }, z.core.$strip>;
1676
+ type DependabotUpdatePullRequest = z.infer<typeof DependabotUpdatePullRequestSchema>;
1677
+ declare const DependabotClosePullRequestSchema: z.ZodObject<{
1678
+ 'dependency-names': z.ZodArray<z.ZodString>;
1679
+ reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1680
+ }, z.core.$strip>;
1681
+ type DependabotClosePullRequest = z.infer<typeof DependabotClosePullRequestSchema>;
1682
+ declare const DependabotMarkAsProcessedSchema: z.ZodObject<{
1683
+ 'base-commit-sha': z.ZodOptional<z.ZodNullable<z.ZodString>>;
1684
+ }, z.core.$strip>;
1685
+ type DependabotMarkAsProcessed = z.infer<typeof DependabotMarkAsProcessedSchema>;
1686
+ declare const DependabotRecordUpdateJobErrorSchema: z.ZodObject<{
1687
+ 'error-type': z.ZodString;
1688
+ 'error-details': z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1689
+ }, z.core.$strip>;
1690
+ type DependabotRecordUpdateJobError = z.infer<typeof DependabotRecordUpdateJobErrorSchema>;
1691
+ declare const DependabotRecordUpdateJobUnknownErrorSchema: z.ZodObject<{
1692
+ 'error-type': z.ZodString;
1693
+ 'error-details': z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1694
+ }, z.core.$strip>;
1695
+ type DependabotRecordUpdateJobUnknownError = z.infer<typeof DependabotRecordUpdateJobUnknownErrorSchema>;
1696
+ declare const DependabotRecordEcosystemVersionsSchema: z.ZodObject<{
1697
+ ecosystem_versions: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1698
+ }, z.core.$strip>;
1699
+ type DependabotRecordEcosystemVersions = z.infer<typeof DependabotRecordEcosystemVersionsSchema>;
1700
+ declare const DependabotEcosystemVersionManagerSchema: z.ZodObject<{
1701
+ name: z.ZodString;
1702
+ version: z.ZodString;
1703
+ raw_version: z.ZodString;
1704
+ requirement: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1705
+ }, z.core.$strip>;
1706
+ type DependabotEcosystemVersionManager = z.infer<typeof DependabotEcosystemVersionManagerSchema>;
1707
+ declare const DependabotEcosystemMetaSchema: z.ZodObject<{
1708
+ name: z.ZodString;
1709
+ package_manager: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1710
+ name: z.ZodString;
1711
+ version: z.ZodString;
1712
+ raw_version: z.ZodString;
1713
+ requirement: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1714
+ }, z.core.$strip>>>;
1715
+ version: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1716
+ name: z.ZodString;
1717
+ version: z.ZodString;
1718
+ raw_version: z.ZodString;
1719
+ requirement: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1720
+ }, z.core.$strip>>>;
1721
+ }, z.core.$strip>;
1722
+ type DependabotEcosystemMeta = z.infer<typeof DependabotEcosystemMetaSchema>;
1723
+ declare const DependabotRecordEcosystemMetaSchema: z.ZodObject<{
1724
+ ecosystem: z.ZodObject<{
1725
+ name: z.ZodString;
1726
+ package_manager: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1727
+ name: z.ZodString;
1728
+ version: z.ZodString;
1729
+ raw_version: z.ZodString;
1730
+ requirement: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1731
+ }, z.core.$strip>>>;
1732
+ version: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1733
+ name: z.ZodString;
1734
+ version: z.ZodString;
1735
+ raw_version: z.ZodString;
1736
+ requirement: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1737
+ }, z.core.$strip>>>;
1738
+ }, z.core.$strip>;
1739
+ }, z.core.$strip>;
1740
+ type DependabotRecordEcosystemMeta = z.infer<typeof DependabotRecordEcosystemMetaSchema>;
1741
+ declare const DependabotIncrementMetricSchema: z.ZodObject<{
1742
+ metric: z.ZodString;
1743
+ tags: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1744
+ }, z.core.$strip>;
1745
+ type DependabotIncrementMetric = z.infer<typeof DependabotIncrementMetricSchema>;
1746
+ declare const DependabotMetricSchema: z.ZodObject<{
1747
+ metric: z.ZodString;
1748
+ type: z.ZodEnum<{
1749
+ increment: "increment";
1750
+ gauge: "gauge";
1751
+ distribution: "distribution";
1752
+ histogram: "histogram";
1753
+ }>;
1754
+ value: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1755
+ values: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
1756
+ tags: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
1757
+ }, z.core.$strip>;
1758
+ type DependabotMetric = z.infer<typeof DependabotMetricSchema>;
1759
+ //#endregion
1760
+ export { sanitizeRef as $, DependabotGroup as $t, DependabotRequest as A, DependabotProxyConfig as At, makeRandomJobToken as B, DependabotSourceProviderSchema as Bt, DependabotRecordUpdateJobUnknownError as C, DEPENDABOT_DEFAULT_AUTHOR_NAME as Cn, DependabotGroupRuleJobSchema as Ct, DependabotUpdatePullRequest as D, DependabotJobFileSchema as Dt, DependabotUpdateDependencyListSchema as E, DependabotJobFile as Et, createApiServerApp as F, DependabotRequirementSourceSchema as Ft, mapIgnoreConditionsFromDependabotConfigToJobConfig as G, DependabotAllowCondition as Gt, mapCredentials as H, FetchedFiles as Ht, DependabotJobBuilder as I, DependabotSecurityAdvisory as It, mapSourceFromDependabotConfigToJobConfig as J, DependabotCommitMessageSchema as Jt, mapPackageEcosystemToPackageManager as K, DependabotAllowConditionSchema as Kt, DependabotJobBuilderOutput as L, DependabotSecurityAdvisorySchema as Lt, DependabotRequestType as M, DependabotRequirement as Mt, DependabotRequestTypeSchema as N, DependabotRequirementSchema as Nt, DependabotUpdatePullRequestSchema as O, DependabotPackageManager as Ot, DependabotTokenType as P, DependabotRequirementSource as Pt, getBranchNameForUpdate as Q, DependabotCooldownSchema as Qt, DependabotSourceInfo as R, DependabotSource as Rt, DependabotRecordUpdateJobErrorSchema as S, DEPENDABOT_DEFAULT_AUTHOR_EMAIL as Sn, DependabotGroupRuleJob as St, DependabotUpdateDependencyList as T, DependabotJobConfigSchema as Tt, mapExperiments as U, FileFetcherInput as Ut, mapAllowedUpdatesFromDependabotConfigToJobConfig as V, DependabotSourceSchema as Vt, mapGroupsFromDependabotConfigToJobConfig as W, FileUpdaterInput as Wt, DEFAULT_EXPERIMENTS as X, DependabotConfigSchema as Xt, mapVersionStrategyToRequirementsUpdateStrategy as Y, DependabotConfig as Yt, parseExperiments as Z, DependabotCooldown as Zt, DependabotRecordEcosystemMeta as _, parseUpdates as _n, DependabotExistingPRSchema as _t, DependabotDependencyFile as a, DependabotRegistrySchema as an, DependabotCommandSchema as at, DependabotRecordEcosystemVersionsSchema as b, convertPlaceholder as bn, DependabotGroupJob as bt, DependabotEcosystemMetaSchema as c, DependabotUpdate as cn, DependabotCondition as ct, DependabotIncrementMetric as d, PackageEcosystem as dn, DependabotCredentialSchema as dt, DependabotGroupSchema as en, CertificateAuthority as et, DependabotIncrementMetricSchema as f, PackageEcosystemSchema as fn, DependabotDependency as ft, DependabotMetricSchema as g, parseRegistries as gn, DependabotExistingPR as gt, DependabotMetric as h, parseDependabotConfig as hn, DependabotExistingGroupPRSchema as ht, DependabotCreatePullRequestSchema as i, DependabotRegistry as in, DependabotCommand as it, DependabotRequestSchema as j, DependabotProxyConfigSchema as jt, CreateApiServerAppOptions as k, DependabotPackageManagerSchema as kt, DependabotEcosystemVersionManager as l, DependabotUpdateSchema as ln, DependabotConditionSchema as lt, DependabotMarkAsProcessedSchema as m, VersioningStrategySchema as mn, DependabotExistingGroupPR as mt, DependabotClosePullRequestSchema as n, DependabotIgnoreConditionSchema as nn, DependabotAllowed as nt, DependabotDependencyFileSchema as o, DependabotSchedule as on, DependabotCommitOptions as ot, DependabotMarkAsProcessed as p, VersioningStrategy as pn, DependabotDependencySchema as pt, mapSecurityAdvisories as q, DependabotCommitMessage as qt, DependabotCreatePullRequest as r, DependabotPullRequestBranchName as rn, DependabotAllowedSchema as rt, DependabotEcosystemMeta as s, DependabotScheduleSchema as sn, DependabotCommitOptionsSchema as st, DependabotClosePullRequest as t, DependabotIgnoreCondition as tn, CertificateAuthoritySchema as tt, DependabotEcosystemVersionManagerSchema as u, POSSIBLE_CONFIG_FILE_PATHS as un, DependabotCredential as ut, DependabotRecordEcosystemMetaSchema as v, validateConfiguration as vn, DependabotExperiments as vt, DependabotRecordUpdateJobUnknownErrorSchema as w, GitAuthor as wn, DependabotJobConfig as wt, DependabotRecordUpdateJobError as x, extractPlaceholder as xn, DependabotGroupJobSchema as xt, DependabotRecordEcosystemVersions as y, VariableFinderFn as yn, DependabotExperimentsSchema as yt, makeRandomJobId as z, DependabotSourceProvider as zt };
1761
+ //# sourceMappingURL=index-DP9JfUPG.d.ts.map