drizzle-kit 0.19.14-039355d → 0.20.0-029419a

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. package/@types/utils.d.ts +12 -0
  2. package/cli/commands/migrate.d.ts +260 -0
  3. package/cli/commands/mysqlUp.d.ts +4 -0
  4. package/cli/commands/pgConnect.d.ts +5 -0
  5. package/cli/commands/pgIntrospect.d.ts +115 -0
  6. package/cli/commands/pgPushUtils.d.ts +14 -0
  7. package/cli/commands/pgUp.d.ts +4 -0
  8. package/cli/commands/sqliteIntrospect.d.ts +102 -0
  9. package/cli/commands/sqliteUtils.d.ts +162 -0
  10. package/cli/commands/upFolders.d.ts +27 -0
  11. package/cli/commands/utils.d.ts +265 -0
  12. package/cli/selector-ui.d.ts +13 -0
  13. package/cli/validations/common.d.ts +13 -0
  14. package/cli/validations/mysql.d.ts +414 -0
  15. package/cli/validations/outputs.d.ts +40 -0
  16. package/cli/validations/pg.d.ts +438 -0
  17. package/cli/validations/sqlite.d.ts +220 -0
  18. package/cli/validations/studio.d.ts +548 -0
  19. package/cli/views.d.ts +61 -0
  20. package/drivers/index.d.ts +25 -0
  21. package/global.d.ts +2 -0
  22. package/index.cjs +28875 -37041
  23. package/index.d.ts +48 -0
  24. package/introspect.d.ts +4 -0
  25. package/jsonDiffer.d.ts +76 -0
  26. package/jsonStatements.d.ts +349 -0
  27. package/migrationPreparator.d.ts +35 -0
  28. package/orm-extenstions/d1-driver/driver.d.ts +8 -0
  29. package/orm-extenstions/d1-driver/session.d.ts +52 -0
  30. package/orm-extenstions/d1-driver/wrangler-client.d.ts +3 -0
  31. package/package.json +5 -4
  32. package/schemaValidator.d.ts +1306 -0
  33. package/serializer/index.d.ts +9 -0
  34. package/serializer/mysqlImports.d.ts +6 -0
  35. package/serializer/mysqlSchema.d.ts +3833 -0
  36. package/serializer/mysqlSerializer.d.ts +7 -0
  37. package/serializer/pgImports.d.ts +11 -0
  38. package/serializer/pgSchema.d.ts +4244 -0
  39. package/serializer/pgSerializer.d.ts +9 -0
  40. package/serializer/sqliteImports.d.ts +5 -0
  41. package/serializer/sqliteSchema.d.ts +3227 -0
  42. package/serializer/sqliteSerializer.d.ts +8 -0
  43. package/serializer/studioUtils.d.ts +35 -0
  44. package/snapshotsDiffer.d.ts +2660 -0
  45. package/sqlgenerator.d.ts +33 -0
  46. package/sqlite-introspect.d.ts +5 -0
  47. package/utils/words.d.ts +7 -0
  48. package/utils-studio.d.ts +2 -0
  49. package/utils-studio.js +3008 -0
  50. package/utils.d.ts +232 -0
  51. package/utils.js +51716 -11731
  52. package/loader.mjs +0 -57
@@ -0,0 +1,438 @@
1
+ import { TypeOf } from "zod";
2
+ export declare const pgConnectionCli: import("zod").ZodUnion<[import("zod").ZodObject<{
3
+ driver: import("zod").ZodLiteral<"pg">;
4
+ host: import("zod").ZodString;
5
+ port: import("zod").ZodOptional<import("zod").ZodNumber>;
6
+ user: import("zod").ZodDefault<import("zod").ZodString>;
7
+ password: import("zod").ZodOptional<import("zod").ZodString>;
8
+ database: import("zod").ZodString;
9
+ ssl: import("zod").ZodOptional<import("zod").ZodBoolean>;
10
+ type: import("zod").ZodDefault<import("zod").ZodLiteral<"params">>;
11
+ }, "strip", import("zod").ZodTypeAny, {
12
+ port?: number | undefined;
13
+ password?: string | undefined;
14
+ ssl?: boolean | undefined;
15
+ type: "params";
16
+ host: string;
17
+ user: string;
18
+ database: string;
19
+ driver: "pg";
20
+ }, {
21
+ type?: "params" | undefined;
22
+ port?: number | undefined;
23
+ user?: string | undefined;
24
+ password?: string | undefined;
25
+ ssl?: boolean | undefined;
26
+ host: string;
27
+ database: string;
28
+ driver: "pg";
29
+ }>, import("zod").ZodObject<{
30
+ driver: import("zod").ZodLiteral<"pg">;
31
+ connectionString: import("zod").ZodString;
32
+ type: import("zod").ZodDefault<import("zod").ZodLiteral<"url">>;
33
+ }, "strip", import("zod").ZodTypeAny, {
34
+ type: "url";
35
+ connectionString: string;
36
+ driver: "pg";
37
+ }, {
38
+ type?: "url" | undefined;
39
+ connectionString: string;
40
+ driver: "pg";
41
+ }>]>;
42
+ export declare const pgConnectionConfig: import("zod").ZodUnion<[import("zod").ZodObject<{
43
+ driver: import("zod").ZodLiteral<"pg">;
44
+ dbCredentials: import("zod").ZodObject<{
45
+ host: import("zod").ZodString;
46
+ port: import("zod").ZodOptional<import("zod").ZodNumber>;
47
+ user: import("zod").ZodDefault<import("zod").ZodString>;
48
+ password: import("zod").ZodOptional<import("zod").ZodString>;
49
+ database: import("zod").ZodString;
50
+ ssl: import("zod").ZodOptional<import("zod").ZodBoolean>;
51
+ type: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodLiteral<"params">>>;
52
+ }, "strip", import("zod").ZodTypeAny, {
53
+ type?: "params" | undefined;
54
+ port?: number | undefined;
55
+ password?: string | undefined;
56
+ ssl?: boolean | undefined;
57
+ host: string;
58
+ user: string;
59
+ database: string;
60
+ }, {
61
+ type?: "params" | undefined;
62
+ port?: number | undefined;
63
+ user?: string | undefined;
64
+ password?: string | undefined;
65
+ ssl?: boolean | undefined;
66
+ host: string;
67
+ database: string;
68
+ }>;
69
+ }, "strip", import("zod").ZodTypeAny, {
70
+ driver: "pg";
71
+ dbCredentials: {
72
+ type?: "params" | undefined;
73
+ port?: number | undefined;
74
+ password?: string | undefined;
75
+ ssl?: boolean | undefined;
76
+ host: string;
77
+ user: string;
78
+ database: string;
79
+ };
80
+ }, {
81
+ driver: "pg";
82
+ dbCredentials: {
83
+ type?: "params" | undefined;
84
+ port?: number | undefined;
85
+ user?: string | undefined;
86
+ password?: string | undefined;
87
+ ssl?: boolean | undefined;
88
+ host: string;
89
+ database: string;
90
+ };
91
+ }>, import("zod").ZodObject<{
92
+ driver: import("zod").ZodLiteral<"pg">;
93
+ dbCredentials: import("zod").ZodObject<{
94
+ connectionString: import("zod").ZodString;
95
+ type: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodLiteral<"url">>>;
96
+ }, "strip", import("zod").ZodTypeAny, {
97
+ type?: "url" | undefined;
98
+ connectionString: string;
99
+ }, {
100
+ type?: "url" | undefined;
101
+ connectionString: string;
102
+ }>;
103
+ }, "strip", import("zod").ZodTypeAny, {
104
+ driver: "pg";
105
+ dbCredentials: {
106
+ type?: "url" | undefined;
107
+ connectionString: string;
108
+ };
109
+ }, {
110
+ driver: "pg";
111
+ dbCredentials: {
112
+ type?: "url" | undefined;
113
+ connectionString: string;
114
+ };
115
+ }>]>;
116
+ export declare const pgConfigIntrospectSchema: import("zod").ZodIntersection<import("zod").ZodObject<{
117
+ schema: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
118
+ out: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
119
+ breakpoints: import("zod").ZodDefault<import("zod").ZodBoolean>;
120
+ tablesFilter: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
121
+ schemaFilter: import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
122
+ introspect: import("zod").ZodDefault<import("zod").ZodObject<{
123
+ casing: import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodLiteral<"camel">, import("zod").ZodLiteral<"preserve">]>>;
124
+ }, "strip", import("zod").ZodTypeAny, {
125
+ casing: "camel" | "preserve";
126
+ }, {
127
+ casing?: "camel" | "preserve" | undefined;
128
+ }>>;
129
+ }, "strip", import("zod").ZodTypeAny, {
130
+ schema?: string | string[] | undefined;
131
+ tablesFilter?: string | string[] | undefined;
132
+ out: string;
133
+ breakpoints: boolean;
134
+ schemaFilter: string | string[];
135
+ introspect: {
136
+ casing: "camel" | "preserve";
137
+ };
138
+ }, {
139
+ schema?: string | string[] | undefined;
140
+ out?: string | undefined;
141
+ breakpoints?: boolean | undefined;
142
+ tablesFilter?: string | string[] | undefined;
143
+ schemaFilter?: string | string[] | undefined;
144
+ introspect?: {
145
+ casing?: "camel" | "preserve" | undefined;
146
+ } | undefined;
147
+ }>, import("zod").ZodUnion<[import("zod").ZodObject<{
148
+ driver: import("zod").ZodLiteral<"pg">;
149
+ dbCredentials: import("zod").ZodObject<{
150
+ host: import("zod").ZodString;
151
+ port: import("zod").ZodOptional<import("zod").ZodNumber>;
152
+ user: import("zod").ZodDefault<import("zod").ZodString>;
153
+ password: import("zod").ZodOptional<import("zod").ZodString>;
154
+ database: import("zod").ZodString;
155
+ ssl: import("zod").ZodOptional<import("zod").ZodBoolean>;
156
+ type: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodLiteral<"params">>>;
157
+ }, "strip", import("zod").ZodTypeAny, {
158
+ type?: "params" | undefined;
159
+ port?: number | undefined;
160
+ password?: string | undefined;
161
+ ssl?: boolean | undefined;
162
+ host: string;
163
+ user: string;
164
+ database: string;
165
+ }, {
166
+ type?: "params" | undefined;
167
+ port?: number | undefined;
168
+ user?: string | undefined;
169
+ password?: string | undefined;
170
+ ssl?: boolean | undefined;
171
+ host: string;
172
+ database: string;
173
+ }>;
174
+ }, "strip", import("zod").ZodTypeAny, {
175
+ driver: "pg";
176
+ dbCredentials: {
177
+ type?: "params" | undefined;
178
+ port?: number | undefined;
179
+ password?: string | undefined;
180
+ ssl?: boolean | undefined;
181
+ host: string;
182
+ user: string;
183
+ database: string;
184
+ };
185
+ }, {
186
+ driver: "pg";
187
+ dbCredentials: {
188
+ type?: "params" | undefined;
189
+ port?: number | undefined;
190
+ user?: string | undefined;
191
+ password?: string | undefined;
192
+ ssl?: boolean | undefined;
193
+ host: string;
194
+ database: string;
195
+ };
196
+ }>, import("zod").ZodObject<{
197
+ driver: import("zod").ZodLiteral<"pg">;
198
+ dbCredentials: import("zod").ZodObject<{
199
+ connectionString: import("zod").ZodString;
200
+ type: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodLiteral<"url">>>;
201
+ }, "strip", import("zod").ZodTypeAny, {
202
+ type?: "url" | undefined;
203
+ connectionString: string;
204
+ }, {
205
+ type?: "url" | undefined;
206
+ connectionString: string;
207
+ }>;
208
+ }, "strip", import("zod").ZodTypeAny, {
209
+ driver: "pg";
210
+ dbCredentials: {
211
+ type?: "url" | undefined;
212
+ connectionString: string;
213
+ };
214
+ }, {
215
+ driver: "pg";
216
+ dbCredentials: {
217
+ type?: "url" | undefined;
218
+ connectionString: string;
219
+ };
220
+ }>]>>;
221
+ export declare const pgCliIntrospectParams: import("zod").ZodIntersection<import("zod").ZodObject<{
222
+ schema: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
223
+ out: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
224
+ breakpoints: import("zod").ZodDefault<import("zod").ZodBoolean>;
225
+ tablesFilter: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
226
+ schemaFilter: import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
227
+ introspectCasing: import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodLiteral<"camel">, import("zod").ZodLiteral<"preserve">]>>;
228
+ }, "strip", import("zod").ZodTypeAny, {
229
+ schema?: string | string[] | undefined;
230
+ tablesFilter?: string | string[] | undefined;
231
+ out: string;
232
+ breakpoints: boolean;
233
+ schemaFilter: string | string[];
234
+ introspectCasing: "camel" | "preserve";
235
+ }, {
236
+ schema?: string | string[] | undefined;
237
+ out?: string | undefined;
238
+ breakpoints?: boolean | undefined;
239
+ tablesFilter?: string | string[] | undefined;
240
+ schemaFilter?: string | string[] | undefined;
241
+ introspectCasing?: "camel" | "preserve" | undefined;
242
+ }>, import("zod").ZodUnion<[import("zod").ZodObject<{
243
+ driver: import("zod").ZodLiteral<"pg">;
244
+ host: import("zod").ZodString;
245
+ port: import("zod").ZodOptional<import("zod").ZodNumber>;
246
+ user: import("zod").ZodDefault<import("zod").ZodString>;
247
+ password: import("zod").ZodOptional<import("zod").ZodString>;
248
+ database: import("zod").ZodString;
249
+ ssl: import("zod").ZodOptional<import("zod").ZodBoolean>;
250
+ type: import("zod").ZodDefault<import("zod").ZodLiteral<"params">>;
251
+ }, "strip", import("zod").ZodTypeAny, {
252
+ port?: number | undefined;
253
+ password?: string | undefined;
254
+ ssl?: boolean | undefined;
255
+ type: "params";
256
+ host: string;
257
+ user: string;
258
+ database: string;
259
+ driver: "pg";
260
+ }, {
261
+ type?: "params" | undefined;
262
+ port?: number | undefined;
263
+ user?: string | undefined;
264
+ password?: string | undefined;
265
+ ssl?: boolean | undefined;
266
+ host: string;
267
+ database: string;
268
+ driver: "pg";
269
+ }>, import("zod").ZodObject<{
270
+ driver: import("zod").ZodLiteral<"pg">;
271
+ connectionString: import("zod").ZodString;
272
+ type: import("zod").ZodDefault<import("zod").ZodLiteral<"url">>;
273
+ }, "strip", import("zod").ZodTypeAny, {
274
+ type: "url";
275
+ connectionString: string;
276
+ driver: "pg";
277
+ }, {
278
+ type?: "url" | undefined;
279
+ connectionString: string;
280
+ driver: "pg";
281
+ }>]>>;
282
+ export declare const pgCliPushParams: import("zod").ZodIntersection<import("zod").ZodObject<{
283
+ schema: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
284
+ tablesFilter: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
285
+ schemaFilter: import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
286
+ verbose: import("zod").ZodDefault<import("zod").ZodBoolean>;
287
+ strict: import("zod").ZodDefault<import("zod").ZodBoolean>;
288
+ }, "strip", import("zod").ZodTypeAny, {
289
+ tablesFilter?: string | string[] | undefined;
290
+ strict: boolean;
291
+ schema: string | string[];
292
+ schemaFilter: string | string[];
293
+ verbose: boolean;
294
+ }, {
295
+ strict?: boolean | undefined;
296
+ tablesFilter?: string | string[] | undefined;
297
+ schemaFilter?: string | string[] | undefined;
298
+ verbose?: boolean | undefined;
299
+ schema: string | string[];
300
+ }>, import("zod").ZodUnion<[import("zod").ZodObject<{
301
+ driver: import("zod").ZodLiteral<"pg">;
302
+ host: import("zod").ZodString;
303
+ port: import("zod").ZodOptional<import("zod").ZodNumber>;
304
+ user: import("zod").ZodDefault<import("zod").ZodString>;
305
+ password: import("zod").ZodOptional<import("zod").ZodString>;
306
+ database: import("zod").ZodString;
307
+ ssl: import("zod").ZodOptional<import("zod").ZodBoolean>;
308
+ type: import("zod").ZodDefault<import("zod").ZodLiteral<"params">>;
309
+ }, "strip", import("zod").ZodTypeAny, {
310
+ port?: number | undefined;
311
+ password?: string | undefined;
312
+ ssl?: boolean | undefined;
313
+ type: "params";
314
+ host: string;
315
+ user: string;
316
+ database: string;
317
+ driver: "pg";
318
+ }, {
319
+ type?: "params" | undefined;
320
+ port?: number | undefined;
321
+ user?: string | undefined;
322
+ password?: string | undefined;
323
+ ssl?: boolean | undefined;
324
+ host: string;
325
+ database: string;
326
+ driver: "pg";
327
+ }>, import("zod").ZodObject<{
328
+ driver: import("zod").ZodLiteral<"pg">;
329
+ connectionString: import("zod").ZodString;
330
+ type: import("zod").ZodDefault<import("zod").ZodLiteral<"url">>;
331
+ }, "strip", import("zod").ZodTypeAny, {
332
+ type: "url";
333
+ connectionString: string;
334
+ driver: "pg";
335
+ }, {
336
+ type?: "url" | undefined;
337
+ connectionString: string;
338
+ driver: "pg";
339
+ }>]>>;
340
+ export declare const pgConfigPushParams: import("zod").ZodIntersection<import("zod").ZodObject<{
341
+ schema: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
342
+ tablesFilter: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
343
+ schemaFilter: import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
344
+ verbose: import("zod").ZodDefault<import("zod").ZodBoolean>;
345
+ strict: import("zod").ZodDefault<import("zod").ZodBoolean>;
346
+ }, "strip", import("zod").ZodTypeAny, {
347
+ tablesFilter?: string | string[] | undefined;
348
+ strict: boolean;
349
+ schema: string | string[];
350
+ schemaFilter: string | string[];
351
+ verbose: boolean;
352
+ }, {
353
+ strict?: boolean | undefined;
354
+ tablesFilter?: string | string[] | undefined;
355
+ schemaFilter?: string | string[] | undefined;
356
+ verbose?: boolean | undefined;
357
+ schema: string | string[];
358
+ }>, import("zod").ZodUnion<[import("zod").ZodObject<{
359
+ driver: import("zod").ZodLiteral<"pg">;
360
+ dbCredentials: import("zod").ZodObject<{
361
+ host: import("zod").ZodString;
362
+ port: import("zod").ZodOptional<import("zod").ZodNumber>;
363
+ user: import("zod").ZodDefault<import("zod").ZodString>;
364
+ password: import("zod").ZodOptional<import("zod").ZodString>;
365
+ database: import("zod").ZodString;
366
+ ssl: import("zod").ZodOptional<import("zod").ZodBoolean>;
367
+ type: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodLiteral<"params">>>;
368
+ }, "strip", import("zod").ZodTypeAny, {
369
+ type?: "params" | undefined;
370
+ port?: number | undefined;
371
+ password?: string | undefined;
372
+ ssl?: boolean | undefined;
373
+ host: string;
374
+ user: string;
375
+ database: string;
376
+ }, {
377
+ type?: "params" | undefined;
378
+ port?: number | undefined;
379
+ user?: string | undefined;
380
+ password?: string | undefined;
381
+ ssl?: boolean | undefined;
382
+ host: string;
383
+ database: string;
384
+ }>;
385
+ }, "strip", import("zod").ZodTypeAny, {
386
+ driver: "pg";
387
+ dbCredentials: {
388
+ type?: "params" | undefined;
389
+ port?: number | undefined;
390
+ password?: string | undefined;
391
+ ssl?: boolean | undefined;
392
+ host: string;
393
+ user: string;
394
+ database: string;
395
+ };
396
+ }, {
397
+ driver: "pg";
398
+ dbCredentials: {
399
+ type?: "params" | undefined;
400
+ port?: number | undefined;
401
+ user?: string | undefined;
402
+ password?: string | undefined;
403
+ ssl?: boolean | undefined;
404
+ host: string;
405
+ database: string;
406
+ };
407
+ }>, import("zod").ZodObject<{
408
+ driver: import("zod").ZodLiteral<"pg">;
409
+ dbCredentials: import("zod").ZodObject<{
410
+ connectionString: import("zod").ZodString;
411
+ type: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodLiteral<"url">>>;
412
+ }, "strip", import("zod").ZodTypeAny, {
413
+ type?: "url" | undefined;
414
+ connectionString: string;
415
+ }, {
416
+ type?: "url" | undefined;
417
+ connectionString: string;
418
+ }>;
419
+ }, "strip", import("zod").ZodTypeAny, {
420
+ driver: "pg";
421
+ dbCredentials: {
422
+ type?: "url" | undefined;
423
+ connectionString: string;
424
+ };
425
+ }, {
426
+ driver: "pg";
427
+ dbCredentials: {
428
+ type?: "url" | undefined;
429
+ connectionString: string;
430
+ };
431
+ }>]>>;
432
+ export type PgPushConfig = TypeOf<typeof pgConfigPushParams>;
433
+ export type PgConfigIntrospect = TypeOf<typeof pgConfigIntrospectSchema>;
434
+ export type PgCliIntrospect = TypeOf<typeof pgCliIntrospectParams>;
435
+ export type PgConnectionConfig = TypeOf<typeof pgConnectionConfig>;
436
+ export declare const printConfigConnectionIssues: (options: any) => void;
437
+ export declare const validatePgIntrospect: (options: Record<string, any>) => Promise<PgConfigIntrospect>;
438
+ export declare const validatePgPush: (options: Record<string, unknown>) => Promise<PgPushConfig>;
@@ -0,0 +1,220 @@
1
+ import { TypeOf } from "zod";
2
+ import { SQLiteCliConfig } from "../commands/sqliteUtils";
3
+ export declare const sqliteConnectionCli: import("zod").ZodUnion<[import("zod").ZodObject<{
4
+ driver: import("zod").ZodLiteral<"turso">;
5
+ url: import("zod").ZodString;
6
+ authToken: import("zod").ZodString;
7
+ }, "strip", import("zod").ZodTypeAny, {
8
+ url: string;
9
+ driver: "turso";
10
+ authToken: string;
11
+ }, {
12
+ url: string;
13
+ driver: "turso";
14
+ authToken: string;
15
+ }>, import("zod").ZodObject<{
16
+ driver: import("zod").ZodLiteral<"better-sqlite">;
17
+ url: import("zod").ZodString;
18
+ }, "strip", import("zod").ZodTypeAny, {
19
+ url: string;
20
+ driver: "better-sqlite";
21
+ }, {
22
+ url: string;
23
+ driver: "better-sqlite";
24
+ }>, import("zod").ZodObject<{
25
+ driver: import("zod").ZodLiteral<"libsql">;
26
+ url: import("zod").ZodString;
27
+ }, "strip", import("zod").ZodTypeAny, {
28
+ url: string;
29
+ driver: "libsql";
30
+ }, {
31
+ url: string;
32
+ driver: "libsql";
33
+ }>]>;
34
+ export declare const sqliteCliIntrospectParams: import("zod").ZodIntersection<import("zod").ZodObject<{
35
+ schema: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
36
+ out: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
37
+ breakpoints: import("zod").ZodDefault<import("zod").ZodBoolean>;
38
+ tablesFilter: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
39
+ schemaFilter: import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
40
+ introspectCasing: import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodLiteral<"camel">, import("zod").ZodLiteral<"preserve">]>>;
41
+ }, "strip", import("zod").ZodTypeAny, {
42
+ schema?: string | string[] | undefined;
43
+ tablesFilter?: string | string[] | undefined;
44
+ out: string;
45
+ breakpoints: boolean;
46
+ schemaFilter: string | string[];
47
+ introspectCasing: "camel" | "preserve";
48
+ }, {
49
+ schema?: string | string[] | undefined;
50
+ out?: string | undefined;
51
+ breakpoints?: boolean | undefined;
52
+ tablesFilter?: string | string[] | undefined;
53
+ schemaFilter?: string | string[] | undefined;
54
+ introspectCasing?: "camel" | "preserve" | undefined;
55
+ }>, import("zod").ZodUnion<[import("zod").ZodObject<{
56
+ driver: import("zod").ZodLiteral<"turso">;
57
+ url: import("zod").ZodString;
58
+ authToken: import("zod").ZodString;
59
+ }, "strip", import("zod").ZodTypeAny, {
60
+ url: string;
61
+ driver: "turso";
62
+ authToken: string;
63
+ }, {
64
+ url: string;
65
+ driver: "turso";
66
+ authToken: string;
67
+ }>, import("zod").ZodObject<{
68
+ driver: import("zod").ZodLiteral<"better-sqlite">;
69
+ url: import("zod").ZodString;
70
+ }, "strip", import("zod").ZodTypeAny, {
71
+ url: string;
72
+ driver: "better-sqlite";
73
+ }, {
74
+ url: string;
75
+ driver: "better-sqlite";
76
+ }>, import("zod").ZodObject<{
77
+ driver: import("zod").ZodLiteral<"libsql">;
78
+ url: import("zod").ZodString;
79
+ }, "strip", import("zod").ZodTypeAny, {
80
+ url: string;
81
+ driver: "libsql";
82
+ }, {
83
+ url: string;
84
+ driver: "libsql";
85
+ }>]>>;
86
+ export declare const sqliteCliPushParams: import("zod").ZodIntersection<import("zod").ZodObject<{
87
+ schema: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
88
+ tablesFilter: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
89
+ schemaFilter: import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
90
+ verbose: import("zod").ZodDefault<import("zod").ZodBoolean>;
91
+ strict: import("zod").ZodDefault<import("zod").ZodBoolean>;
92
+ }, "strip", import("zod").ZodTypeAny, {
93
+ tablesFilter?: string | string[] | undefined;
94
+ strict: boolean;
95
+ schema: string | string[];
96
+ schemaFilter: string | string[];
97
+ verbose: boolean;
98
+ }, {
99
+ strict?: boolean | undefined;
100
+ tablesFilter?: string | string[] | undefined;
101
+ schemaFilter?: string | string[] | undefined;
102
+ verbose?: boolean | undefined;
103
+ schema: string | string[];
104
+ }>, import("zod").ZodUnion<[import("zod").ZodObject<{
105
+ driver: import("zod").ZodLiteral<"turso">;
106
+ url: import("zod").ZodString;
107
+ authToken: import("zod").ZodString;
108
+ }, "strip", import("zod").ZodTypeAny, {
109
+ url: string;
110
+ driver: "turso";
111
+ authToken: string;
112
+ }, {
113
+ url: string;
114
+ driver: "turso";
115
+ authToken: string;
116
+ }>, import("zod").ZodObject<{
117
+ driver: import("zod").ZodLiteral<"better-sqlite">;
118
+ url: import("zod").ZodString;
119
+ }, "strip", import("zod").ZodTypeAny, {
120
+ url: string;
121
+ driver: "better-sqlite";
122
+ }, {
123
+ url: string;
124
+ driver: "better-sqlite";
125
+ }>, import("zod").ZodObject<{
126
+ driver: import("zod").ZodLiteral<"libsql">;
127
+ url: import("zod").ZodString;
128
+ }, "strip", import("zod").ZodTypeAny, {
129
+ url: string;
130
+ driver: "libsql";
131
+ }, {
132
+ url: string;
133
+ driver: "libsql";
134
+ }>]>>;
135
+ export declare const sqliteConfigPushParams: import("zod").ZodIntersection<import("zod").ZodObject<{
136
+ schema: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
137
+ tablesFilter: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
138
+ schemaFilter: import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
139
+ verbose: import("zod").ZodDefault<import("zod").ZodBoolean>;
140
+ strict: import("zod").ZodDefault<import("zod").ZodBoolean>;
141
+ }, "strip", import("zod").ZodTypeAny, {
142
+ tablesFilter?: string | string[] | undefined;
143
+ strict: boolean;
144
+ schema: string | string[];
145
+ schemaFilter: string | string[];
146
+ verbose: boolean;
147
+ }, {
148
+ strict?: boolean | undefined;
149
+ tablesFilter?: string | string[] | undefined;
150
+ schemaFilter?: string | string[] | undefined;
151
+ verbose?: boolean | undefined;
152
+ schema: string | string[];
153
+ }>, import("zod").ZodUnion<[import("zod").ZodObject<{
154
+ driver: import("zod").ZodLiteral<"turso">;
155
+ dbCredentials: import("zod").ZodObject<{
156
+ url: import("zod").ZodString;
157
+ authToken: import("zod").ZodOptional<import("zod").ZodString>;
158
+ }, "strip", import("zod").ZodTypeAny, {
159
+ authToken?: string | undefined;
160
+ url: string;
161
+ }, {
162
+ authToken?: string | undefined;
163
+ url: string;
164
+ }>;
165
+ }, "strip", import("zod").ZodTypeAny, {
166
+ driver: "turso";
167
+ dbCredentials: {
168
+ authToken?: string | undefined;
169
+ url: string;
170
+ };
171
+ }, {
172
+ driver: "turso";
173
+ dbCredentials: {
174
+ authToken?: string | undefined;
175
+ url: string;
176
+ };
177
+ }>, import("zod").ZodObject<{
178
+ driver: import("zod").ZodLiteral<"libsql">;
179
+ dbCredentials: import("zod").ZodObject<{
180
+ url: import("zod").ZodString;
181
+ }, "strip", import("zod").ZodTypeAny, {
182
+ url: string;
183
+ }, {
184
+ url: string;
185
+ }>;
186
+ }, "strip", import("zod").ZodTypeAny, {
187
+ driver: "libsql";
188
+ dbCredentials: {
189
+ url: string;
190
+ };
191
+ }, {
192
+ driver: "libsql";
193
+ dbCredentials: {
194
+ url: string;
195
+ };
196
+ }>, import("zod").ZodObject<{
197
+ driver: import("zod").ZodLiteral<"better-sqlite">;
198
+ dbCredentials: import("zod").ZodObject<{
199
+ url: import("zod").ZodString;
200
+ }, "strip", import("zod").ZodTypeAny, {
201
+ url: string;
202
+ }, {
203
+ url: string;
204
+ }>;
205
+ }, "strip", import("zod").ZodTypeAny, {
206
+ driver: "better-sqlite";
207
+ dbCredentials: {
208
+ url: string;
209
+ };
210
+ }, {
211
+ driver: "better-sqlite";
212
+ dbCredentials: {
213
+ url: string;
214
+ };
215
+ }>]>>;
216
+ export type SQLitePushConfig = TypeOf<typeof sqliteConfigPushParams>;
217
+ export declare const printConfigConnectionIssues: (options: any) => void;
218
+ export declare const validateIntrospect: (options: Record<string, any>) => Promise<SQLiteCliConfig>;
219
+ export declare const validatePush: (options: Record<string, unknown>) => Promise<SQLitePushConfig>;
220
+ export declare const validateGenerate: () => void;