drizzle-kit 0.20.5-e91a5f5 → 0.20.5-fd4dd75

Sign up to get free protection for your applications and to get access to all the features.
@@ -112,5 +112,10 @@ export declare const pgIntrospect: (config: PgConfigIntrospect, filters: string[
112
112
  values: Record<string, string>;
113
113
  }>;
114
114
  };
115
- ts: string;
115
+ ts: {
116
+ file: string;
117
+ imports: string;
118
+ decalrations: string;
119
+ schemaEntry: string;
120
+ };
116
121
  }>;
@@ -0,0 +1,14 @@
1
+ import { DrizzleDbClient } from "src/drivers";
2
+ import { JsonStatement } from "src/jsonStatements";
3
+ export declare const pgSuggestions: ({ connection, statements, }: {
4
+ statements: JsonStatement[];
5
+ connection: DrizzleDbClient;
6
+ }) => Promise<{
7
+ statementsToExecute: string[];
8
+ shouldAskForApprove: boolean;
9
+ infoToPrint: string[];
10
+ columnsToRemove: string[];
11
+ schemasToRemove: string[];
12
+ tablesToTruncate: string[];
13
+ tablesToRemove: string[];
14
+ }>;
@@ -51,7 +51,12 @@ export declare const sqliteIntrospect: (config: SQLiteCliConfig, filters: string
51
51
  };
52
52
  enums: {};
53
53
  };
54
- ts: string;
54
+ ts: {
55
+ file: string;
56
+ imports: string;
57
+ decalrations: string;
58
+ schemaEntry: string;
59
+ };
55
60
  }>;
56
61
  export declare const sqlitePushIntrospect: (client: DrizzleDbClient, filters: string[]) => Promise<{
57
62
  schema: {
@@ -1,6 +1,6 @@
1
1
  import { TypeOf } from "zod";
2
2
  export declare const safeRegister: () => Promise<{
3
- unregister(): void;
3
+ unregister: () => void;
4
4
  }>;
5
5
  export type GenerateConfig = {
6
6
  schema: string | string[];
@@ -0,0 +1,13 @@
1
+ import { Prompt } from "hanji";
2
+ export declare class Select extends Prompt<{
3
+ index: number;
4
+ value: string;
5
+ }> {
6
+ private readonly data;
7
+ constructor(items: string[]);
8
+ render(status: "idle" | "submitted" | "aborted"): string;
9
+ result(): {
10
+ index: number;
11
+ value: string;
12
+ };
13
+ }
package/cli/utils.d.ts ADDED
@@ -0,0 +1,12 @@
1
+ export declare const assertExists: (it?: any) => void;
2
+ export declare const assertStudioNodeVersion: () => void;
3
+ export declare const assertPackages: (...pkgs: string[]) => Promise<void>;
4
+ export declare const assertEitherPackage: (...pkgs: string[]) => Promise<string[]>;
5
+ export declare const assertOrmCoreVersion: () => Promise<void>;
6
+ export declare const ormCoreVersions: () => Promise<{
7
+ compatibilityVersion: number;
8
+ npmVersion: string;
9
+ } | {
10
+ compatibilityVersion?: undefined;
11
+ npmVersion?: undefined;
12
+ }>;
@@ -0,0 +1,365 @@
1
+ import { TypeOf } from "zod";
2
+ export declare const mysqlConnectionCli: import("zod").ZodUnion<[import("zod").ZodObject<{
3
+ driver: import("zod").ZodLiteral<"mysql2">;
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
+ }, "strip", import("zod").ZodTypeAny, {
10
+ port?: number | undefined;
11
+ password?: string | undefined;
12
+ host: string;
13
+ user: string;
14
+ database: string;
15
+ driver: "mysql2";
16
+ }, {
17
+ port?: number | undefined;
18
+ user?: string | undefined;
19
+ password?: string | undefined;
20
+ host: string;
21
+ database: string;
22
+ driver: "mysql2";
23
+ }>, import("zod").ZodObject<{
24
+ driver: import("zod").ZodLiteral<"mysql2">;
25
+ uri: import("zod").ZodString;
26
+ }, "strip", import("zod").ZodTypeAny, {
27
+ driver: "mysql2";
28
+ uri: string;
29
+ }, {
30
+ driver: "mysql2";
31
+ uri: string;
32
+ }>]>;
33
+ export declare const mysql2credentials: import("zod").ZodUnion<[import("zod").ZodObject<{
34
+ host: import("zod").ZodString;
35
+ port: import("zod").ZodOptional<import("zod").ZodNumber>;
36
+ user: import("zod").ZodDefault<import("zod").ZodString>;
37
+ password: import("zod").ZodOptional<import("zod").ZodString>;
38
+ database: import("zod").ZodString;
39
+ }, "strip", import("zod").ZodTypeAny, {
40
+ port?: number | undefined;
41
+ password?: string | undefined;
42
+ host: string;
43
+ user: string;
44
+ database: string;
45
+ }, {
46
+ port?: number | undefined;
47
+ user?: string | undefined;
48
+ password?: string | undefined;
49
+ host: string;
50
+ database: string;
51
+ }>, import("zod").ZodObject<{
52
+ uri: import("zod").ZodString;
53
+ }, "strip", import("zod").ZodTypeAny, {
54
+ uri: string;
55
+ }, {
56
+ uri: string;
57
+ }>]>;
58
+ export declare const mysqlConnectionConfig: import("zod").ZodObject<{
59
+ driver: import("zod").ZodLiteral<"mysql2">;
60
+ dbCredentials: import("zod").ZodUnion<[import("zod").ZodObject<{
61
+ host: import("zod").ZodString;
62
+ port: import("zod").ZodOptional<import("zod").ZodNumber>;
63
+ user: import("zod").ZodDefault<import("zod").ZodString>;
64
+ password: import("zod").ZodOptional<import("zod").ZodString>;
65
+ database: import("zod").ZodString;
66
+ }, "strip", import("zod").ZodTypeAny, {
67
+ port?: number | undefined;
68
+ password?: string | undefined;
69
+ host: string;
70
+ user: string;
71
+ database: string;
72
+ }, {
73
+ port?: number | undefined;
74
+ user?: string | undefined;
75
+ password?: string | undefined;
76
+ host: string;
77
+ database: string;
78
+ }>, import("zod").ZodObject<{
79
+ uri: import("zod").ZodString;
80
+ }, "strip", import("zod").ZodTypeAny, {
81
+ uri: string;
82
+ }, {
83
+ uri: string;
84
+ }>]>;
85
+ }, "strip", import("zod").ZodTypeAny, {
86
+ driver: "mysql2";
87
+ dbCredentials: {
88
+ port?: number | undefined;
89
+ password?: string | undefined;
90
+ host: string;
91
+ user: string;
92
+ database: string;
93
+ } | {
94
+ uri: string;
95
+ };
96
+ }, {
97
+ driver: "mysql2";
98
+ dbCredentials: {
99
+ port?: number | undefined;
100
+ user?: string | undefined;
101
+ password?: string | undefined;
102
+ host: string;
103
+ database: string;
104
+ } | {
105
+ uri: string;
106
+ };
107
+ }>;
108
+ export declare const mysqlConfigIntrospectSchema: import("zod").ZodIntersection<import("zod").ZodObject<{
109
+ schema: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
110
+ out: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
111
+ breakpoints: import("zod").ZodDefault<import("zod").ZodBoolean>;
112
+ tablesFilter: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
113
+ schemaFilter: import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
114
+ introspect: import("zod").ZodDefault<import("zod").ZodObject<{
115
+ casing: import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodLiteral<"camel">, import("zod").ZodLiteral<"preserve">]>>;
116
+ }, "strip", import("zod").ZodTypeAny, {
117
+ casing: "camel" | "preserve";
118
+ }, {
119
+ casing?: "camel" | "preserve" | undefined;
120
+ }>>;
121
+ }, "strip", import("zod").ZodTypeAny, {
122
+ schema?: string | string[] | undefined;
123
+ tablesFilter?: string | string[] | undefined;
124
+ out: string;
125
+ breakpoints: boolean;
126
+ schemaFilter: string | string[];
127
+ introspect: {
128
+ casing: "camel" | "preserve";
129
+ };
130
+ }, {
131
+ schema?: string | string[] | undefined;
132
+ out?: string | undefined;
133
+ breakpoints?: boolean | undefined;
134
+ tablesFilter?: string | string[] | undefined;
135
+ schemaFilter?: string | string[] | undefined;
136
+ introspect?: {
137
+ casing?: "camel" | "preserve" | undefined;
138
+ } | undefined;
139
+ }>, import("zod").ZodObject<{
140
+ driver: import("zod").ZodLiteral<"mysql2">;
141
+ dbCredentials: import("zod").ZodUnion<[import("zod").ZodObject<{
142
+ host: import("zod").ZodString;
143
+ port: import("zod").ZodOptional<import("zod").ZodNumber>;
144
+ user: import("zod").ZodDefault<import("zod").ZodString>;
145
+ password: import("zod").ZodOptional<import("zod").ZodString>;
146
+ database: import("zod").ZodString;
147
+ }, "strip", import("zod").ZodTypeAny, {
148
+ port?: number | undefined;
149
+ password?: string | undefined;
150
+ host: string;
151
+ user: string;
152
+ database: string;
153
+ }, {
154
+ port?: number | undefined;
155
+ user?: string | undefined;
156
+ password?: string | undefined;
157
+ host: string;
158
+ database: string;
159
+ }>, import("zod").ZodObject<{
160
+ uri: import("zod").ZodString;
161
+ }, "strip", import("zod").ZodTypeAny, {
162
+ uri: string;
163
+ }, {
164
+ uri: string;
165
+ }>]>;
166
+ }, "strip", import("zod").ZodTypeAny, {
167
+ driver: "mysql2";
168
+ dbCredentials: {
169
+ port?: number | undefined;
170
+ password?: string | undefined;
171
+ host: string;
172
+ user: string;
173
+ database: string;
174
+ } | {
175
+ uri: string;
176
+ };
177
+ }, {
178
+ driver: "mysql2";
179
+ dbCredentials: {
180
+ port?: number | undefined;
181
+ user?: string | undefined;
182
+ password?: string | undefined;
183
+ host: string;
184
+ database: string;
185
+ } | {
186
+ uri: string;
187
+ };
188
+ }>>;
189
+ export declare const mysqlCliIntrospectParams: import("zod").ZodIntersection<import("zod").ZodObject<{
190
+ schema: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
191
+ out: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
192
+ breakpoints: import("zod").ZodDefault<import("zod").ZodBoolean>;
193
+ tablesFilter: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
194
+ schemaFilter: import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
195
+ introspectCasing: import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodLiteral<"camel">, import("zod").ZodLiteral<"preserve">]>>;
196
+ }, "strip", import("zod").ZodTypeAny, {
197
+ schema?: string | string[] | undefined;
198
+ tablesFilter?: string | string[] | undefined;
199
+ out: string;
200
+ breakpoints: boolean;
201
+ schemaFilter: string | string[];
202
+ introspectCasing: "camel" | "preserve";
203
+ }, {
204
+ schema?: string | string[] | undefined;
205
+ out?: string | undefined;
206
+ breakpoints?: boolean | undefined;
207
+ tablesFilter?: string | string[] | undefined;
208
+ schemaFilter?: string | string[] | undefined;
209
+ introspectCasing?: "camel" | "preserve" | undefined;
210
+ }>, import("zod").ZodUnion<[import("zod").ZodObject<{
211
+ driver: import("zod").ZodLiteral<"mysql2">;
212
+ host: import("zod").ZodString;
213
+ port: import("zod").ZodOptional<import("zod").ZodNumber>;
214
+ user: import("zod").ZodDefault<import("zod").ZodString>;
215
+ password: import("zod").ZodOptional<import("zod").ZodString>;
216
+ database: import("zod").ZodString;
217
+ }, "strip", import("zod").ZodTypeAny, {
218
+ port?: number | undefined;
219
+ password?: string | undefined;
220
+ host: string;
221
+ user: string;
222
+ database: string;
223
+ driver: "mysql2";
224
+ }, {
225
+ port?: number | undefined;
226
+ user?: string | undefined;
227
+ password?: string | undefined;
228
+ host: string;
229
+ database: string;
230
+ driver: "mysql2";
231
+ }>, import("zod").ZodObject<{
232
+ driver: import("zod").ZodLiteral<"mysql2">;
233
+ uri: import("zod").ZodString;
234
+ }, "strip", import("zod").ZodTypeAny, {
235
+ driver: "mysql2";
236
+ uri: string;
237
+ }, {
238
+ driver: "mysql2";
239
+ uri: string;
240
+ }>]>>;
241
+ export declare const mysqlCliPushParams: import("zod").ZodIntersection<import("zod").ZodObject<{
242
+ schema: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
243
+ tablesFilter: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
244
+ schemaFilter: import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
245
+ verbose: import("zod").ZodDefault<import("zod").ZodBoolean>;
246
+ strict: import("zod").ZodDefault<import("zod").ZodBoolean>;
247
+ }, "strip", import("zod").ZodTypeAny, {
248
+ tablesFilter?: string | string[] | undefined;
249
+ strict: boolean;
250
+ schema: string | string[];
251
+ schemaFilter: string | string[];
252
+ verbose: boolean;
253
+ }, {
254
+ strict?: boolean | undefined;
255
+ tablesFilter?: string | string[] | undefined;
256
+ schemaFilter?: string | string[] | undefined;
257
+ verbose?: boolean | undefined;
258
+ schema: string | string[];
259
+ }>, import("zod").ZodUnion<[import("zod").ZodObject<{
260
+ driver: import("zod").ZodLiteral<"mysql2">;
261
+ host: import("zod").ZodString;
262
+ port: import("zod").ZodOptional<import("zod").ZodNumber>;
263
+ user: import("zod").ZodDefault<import("zod").ZodString>;
264
+ password: import("zod").ZodOptional<import("zod").ZodString>;
265
+ database: import("zod").ZodString;
266
+ }, "strip", import("zod").ZodTypeAny, {
267
+ port?: number | undefined;
268
+ password?: string | undefined;
269
+ host: string;
270
+ user: string;
271
+ database: string;
272
+ driver: "mysql2";
273
+ }, {
274
+ port?: number | undefined;
275
+ user?: string | undefined;
276
+ password?: string | undefined;
277
+ host: string;
278
+ database: string;
279
+ driver: "mysql2";
280
+ }>, import("zod").ZodObject<{
281
+ driver: import("zod").ZodLiteral<"mysql2">;
282
+ uri: import("zod").ZodString;
283
+ }, "strip", import("zod").ZodTypeAny, {
284
+ driver: "mysql2";
285
+ uri: string;
286
+ }, {
287
+ driver: "mysql2";
288
+ uri: string;
289
+ }>]>>;
290
+ export declare const mysqlConfigPushParams: import("zod").ZodIntersection<import("zod").ZodObject<{
291
+ schema: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
292
+ tablesFilter: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
293
+ schemaFilter: import("zod").ZodDefault<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
294
+ verbose: import("zod").ZodDefault<import("zod").ZodBoolean>;
295
+ strict: import("zod").ZodDefault<import("zod").ZodBoolean>;
296
+ }, "strip", import("zod").ZodTypeAny, {
297
+ tablesFilter?: string | string[] | undefined;
298
+ strict: boolean;
299
+ schema: string | string[];
300
+ schemaFilter: string | string[];
301
+ verbose: boolean;
302
+ }, {
303
+ strict?: boolean | undefined;
304
+ tablesFilter?: string | string[] | undefined;
305
+ schemaFilter?: string | string[] | undefined;
306
+ verbose?: boolean | undefined;
307
+ schema: string | string[];
308
+ }>, import("zod").ZodObject<{
309
+ driver: import("zod").ZodLiteral<"mysql2">;
310
+ dbCredentials: import("zod").ZodUnion<[import("zod").ZodObject<{
311
+ host: import("zod").ZodString;
312
+ port: import("zod").ZodOptional<import("zod").ZodNumber>;
313
+ user: import("zod").ZodDefault<import("zod").ZodString>;
314
+ password: import("zod").ZodOptional<import("zod").ZodString>;
315
+ database: import("zod").ZodString;
316
+ }, "strip", import("zod").ZodTypeAny, {
317
+ port?: number | undefined;
318
+ password?: string | undefined;
319
+ host: string;
320
+ user: string;
321
+ database: string;
322
+ }, {
323
+ port?: number | undefined;
324
+ user?: string | undefined;
325
+ password?: string | undefined;
326
+ host: string;
327
+ database: string;
328
+ }>, import("zod").ZodObject<{
329
+ uri: import("zod").ZodString;
330
+ }, "strip", import("zod").ZodTypeAny, {
331
+ uri: string;
332
+ }, {
333
+ uri: string;
334
+ }>]>;
335
+ }, "strip", import("zod").ZodTypeAny, {
336
+ driver: "mysql2";
337
+ dbCredentials: {
338
+ port?: number | undefined;
339
+ password?: string | undefined;
340
+ host: string;
341
+ user: string;
342
+ database: string;
343
+ } | {
344
+ uri: string;
345
+ };
346
+ }, {
347
+ driver: "mysql2";
348
+ dbCredentials: {
349
+ port?: number | undefined;
350
+ user?: string | undefined;
351
+ password?: string | undefined;
352
+ host: string;
353
+ database: string;
354
+ } | {
355
+ uri: string;
356
+ };
357
+ }>>;
358
+ export type MySQLPushConfig = TypeOf<typeof mysqlConfigPushParams>;
359
+ export type MySQLConfigIntrospect = TypeOf<typeof mysqlConfigIntrospectSchema>;
360
+ export type MySQLCliIntrospect = TypeOf<typeof mysqlCliIntrospectParams>;
361
+ export type MySQLConnectionConfig = TypeOf<typeof mysqlConnectionConfig>;
362
+ export declare const printCliConnectionIssues: (options: any) => void;
363
+ export declare const printConfigConnectionIssues: (options: any) => void;
364
+ export declare const validateMySqlIntrospect: (options: Record<string, any>) => Promise<MySQLConfigIntrospect>;
365
+ export declare const validateMySqlPush: (options: Record<string, unknown>) => Promise<MySQLPushConfig>;
@@ -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;