drizzle-kit 0.20.14-a77266f → 0.20.14-dc3503a

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,2 @@
1
+ import { Dialect } from "../../schemaValidator";
2
+ export declare const checkHandler: (out: string, dialect: Dialect) => void;
@@ -0,0 +1,4 @@
1
+ export declare const dropMigration: ({ out, bundle, }: {
2
+ out: string;
3
+ bundle?: boolean | undefined;
4
+ }) => Promise<void>;
@@ -1,9 +1,9 @@
1
1
  import { CommonSchema, CommonSquashedSchema, Dialect } from "../../schemaValidator";
2
2
  import { schema } from "../views";
3
- import { PgSchema } from "src/serializer/pgSchema";
4
- import { SQLiteSchema } from "src/serializer/sqliteSchema";
5
- import { MySqlSchema } from "src/serializer/mysqlSchema";
6
- import { Journal } from "src/utils";
3
+ import { PgSchema } from "../../serializer/pgSchema";
4
+ import { SQLiteSchema } from "../../serializer/sqliteSchema";
5
+ import { MySqlSchema } from "../../serializer/mysqlSchema";
6
+ import { Journal } from "../../utils";
7
7
  import { GenerateConfig } from "./utils";
8
8
  export type Named = {
9
9
  name: string;
@@ -132,7 +132,7 @@ export declare const prepareMySQLPush: (config: {
132
132
  schemas: Record<string, string>;
133
133
  };
134
134
  };
135
- } | undefined>;
135
+ }>;
136
136
  export declare const prepareSQLitePush: (config: {
137
137
  schema: string | string[];
138
138
  }, snapshot: SQLiteSchema) => Promise<{
@@ -183,7 +183,7 @@ export declare const prepareSQLitePush: (config: {
183
183
  tables: {};
184
184
  columns: {};
185
185
  } | undefined;
186
- } | undefined>;
186
+ }>;
187
187
  export declare const preparePgPush: (config: {
188
188
  schema: string | string[];
189
189
  }, snapshot: PgSchema, schemaFilter: string[]) => Promise<{
@@ -243,7 +243,7 @@ export declare const preparePgPush: (config: {
243
243
  values: Record<string, string>;
244
244
  }>;
245
245
  };
246
- } | undefined>;
246
+ }>;
247
247
  export declare const prepareAndMigrateMySql: (config: GenerateConfig) => Promise<void>;
248
248
  export declare const prepareAndMigrateSqlite: (config: GenerateConfig) => Promise<void>;
249
249
  export declare const prepareSQL: (prev: CommonSquashedSchema, cur: CommonSquashedSchema, dialect: Dialect, prevFull?: any, curFull?: any) => Promise<{
@@ -1,6 +1,6 @@
1
1
  import { DrizzleDbClient } from "src/drivers";
2
- import { JsonStatement } from "src/jsonStatements";
3
- import { mysqlSchema } from "src/serializer/mysqlSchema";
2
+ import { JsonStatement } from "../../jsonStatements";
3
+ import { mysqlSchema } from "../../serializer/mysqlSchema";
4
4
  import { TypeOf } from "zod";
5
5
  export declare const filterStatements: (statements: JsonStatement[], currentSchema: TypeOf<typeof mysqlSchema>, prevSchema: TypeOf<typeof mysqlSchema>) => JsonStatement[];
6
6
  export declare const logSuggestionsAndReturn: ({ connection, statements, json2, }: {
@@ -1,4 +1,4 @@
1
- import { MySqlSchema, MySqlSchemaV4 } from "src/serializer/mysqlSchema";
1
+ import { MySqlSchema, MySqlSchemaV4 } from "../../serializer/mysqlSchema";
2
2
  export declare const upMysqlHandler: (out: string) => void;
3
3
  export declare const upMySqlHandlerV4toV5: (obj: MySqlSchemaV4) => MySqlSchema;
4
4
  export declare const upMysqlHandlerV4: (out: string) => void;
@@ -1,5 +1,5 @@
1
1
  import type { PgConnectionConfig } from "../validations/pg";
2
- import { PgPostgres } from "src/drivers";
2
+ import { PgPostgres } from "../../drivers";
3
3
  export declare const connectToPg: (config: PgConnectionConfig) => Promise<{
4
4
  client: PgPostgres;
5
5
  }>;
@@ -1,5 +1,5 @@
1
1
  import type { PgConfigIntrospect } from "../validations/pg";
2
- import type { DrizzleDbClient } from "src/drivers";
2
+ import type { DrizzleDbClient } from "../../drivers";
3
3
  export declare const pgSchemas: (client: DrizzleDbClient) => Promise<string[]>;
4
4
  export declare const pgPushIntrospect: (connection: {
5
5
  client: DrizzleDbClient;
@@ -1,5 +1,5 @@
1
- import { DrizzleDbClient } from "src/drivers";
2
- import { JsonStatement } from "src/jsonStatements";
1
+ import { DrizzleDbClient } from "../../drivers";
2
+ import { JsonStatement } from "../../jsonStatements";
3
3
  export declare const pgSuggestions: ({ connection, statements, }: {
4
4
  statements: JsonStatement[];
5
5
  connection: DrizzleDbClient;
@@ -1,4 +1,4 @@
1
- import { PgSchema, PgSchemaV4 } from "src/serializer/pgSchema";
1
+ import { PgSchema, PgSchemaV4 } from "../../serializer/pgSchema";
2
2
  export declare const upPgHandlerV4toV5: (obj: PgSchemaV4) => PgSchema;
3
3
  export declare const upPgHandler: (out: string) => void;
4
4
  export declare const upPgHandlerV4: (out: string) => void;
@@ -0,0 +1,6 @@
1
+ import { MySQLPushConfig } from "../validations/mysql";
2
+ import { PgPushConfig } from "../validations/pg";
3
+ import { SQLitePushConfig } from "../validations/sqlite";
4
+ export declare const mysqlPush: (drizzleConfig: MySQLPushConfig, tablesFilter: string[]) => Promise<void>;
5
+ export declare const pgPush: (drizzleConfig: PgPushConfig, tablesFilter: string[]) => Promise<void>;
6
+ export declare const sqlitePush: (drizzleConfig: SQLitePushConfig, tablesFilter: string[]) => Promise<void>;
@@ -1,6 +1,6 @@
1
- import { DrizzleDbClient } from "src/drivers";
2
- import { JsonStatement } from "src/jsonStatements";
3
- import { SQLiteSchemaInternal, SQLiteSchemaSquashed } from "src/serializer/sqliteSchema";
1
+ import { DrizzleDbClient } from "../../drivers";
2
+ import { JsonStatement } from "../../jsonStatements";
3
+ import { SQLiteSchemaInternal, SQLiteSchemaSquashed } from "../../serializer/sqliteSchema";
4
4
  export declare const _moveDataStatements: (tableName: string, json: SQLiteSchemaSquashed, dataLoss?: boolean) => string[];
5
5
  export declare const getOldTableName: (tableName: string, meta: SQLiteSchemaInternal["_meta"]) => string;
6
6
  export declare const getNewTableName: (tableName: string, meta: SQLiteSchemaInternal["_meta"]) => string;
@@ -0,0 +1,2 @@
1
+ export declare const upSqliteHandler: (out: string) => void;
2
+ export declare const upSqliteHandlerV4: (out: string) => void;
@@ -1,4 +1,4 @@
1
- import { Dialect } from "src/schemaValidator";
1
+ import { Dialect } from "../../schemaValidator";
2
2
  import { Named, NamedWithSchema } from "./migrate";
3
3
  export declare const resolveSchemas: <T extends Named>(missingSchemas: T[], newSchemas: T[], predicate: (leftMissing: T[], created: T) => T | undefined) => {
4
4
  created: T[];
@@ -1,4 +1,8 @@
1
1
  import { TypeOf } from "zod";
2
+ import { CliParamsPush } from "..";
3
+ import { MySQLPushConfig } from "../validations/mysql";
4
+ import { PgPushConfig } from "../validations/pg";
5
+ import { SQLitePushConfig } from "../validations/sqlite";
2
6
  export declare const safeRegister: () => Promise<{
3
7
  unregister: () => void;
4
8
  }>;
@@ -16,6 +20,11 @@ export declare const prepareGenerateConfig: (options: {
16
20
  breakpoints: boolean;
17
21
  custom: boolean;
18
22
  }) => Promise<GenerateConfig>;
23
+ export declare const preparePushConfig: (options: CliParamsPush) => Promise<{
24
+ config: MySQLPushConfig | PgPushConfig | SQLitePushConfig;
25
+ schemaFiles: string[];
26
+ tablesFilter: string[];
27
+ }>;
19
28
  export declare const assertOutFolder: (it: {
20
29
  config?: string;
21
30
  } | {
@@ -38,8 +47,8 @@ export declare const configCommonSchema: import("zod").ZodObject<{
38
47
  schemaFilter: string | string[];
39
48
  }, {
40
49
  out?: string | undefined;
41
- breakpoints?: boolean | undefined;
42
50
  driver?: "turso" | "better-sqlite" | "libsql" | "d1" | "pg" | "mysql2" | "expo" | undefined;
51
+ breakpoints?: boolean | undefined;
43
52
  tablesFilter?: string | string[] | undefined;
44
53
  schemaFilter?: string | string[] | undefined;
45
54
  schema: string | string[];
@@ -181,8 +190,8 @@ export declare const mySqlCliConfigSchema: import("zod").ZodIntersection<import(
181
190
  schemaFilter: string | string[];
182
191
  }, {
183
192
  out?: string | undefined;
184
- breakpoints?: boolean | undefined;
185
193
  driver?: "turso" | "better-sqlite" | "libsql" | "d1" | "pg" | "mysql2" | "expo" | undefined;
194
+ breakpoints?: boolean | undefined;
186
195
  tablesFilter?: string | string[] | undefined;
187
196
  schemaFilter?: string | string[] | undefined;
188
197
  schema: string | string[];
package/cli/index.d.ts ADDED
@@ -0,0 +1,71 @@
1
+ import { TypeOf } from "zod";
2
+ import "../@types/utils";
3
+ import "dotenv/config";
4
+ declare const cliParamsPush: import("zod").ZodObject<{
5
+ config: import("zod").ZodOptional<import("zod").ZodString>;
6
+ dialect: import("zod").ZodEnum<["pg", "mysql", "sqlite"]>;
7
+ schema: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
8
+ tablesFilter: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
9
+ driver: import("zod").ZodString;
10
+ connectionString: import("zod").ZodOptional<import("zod").ZodString>;
11
+ host: import("zod").ZodOptional<import("zod").ZodString>;
12
+ port: import("zod").ZodOptional<import("zod").ZodString>;
13
+ user: import("zod").ZodOptional<import("zod").ZodString>;
14
+ password: import("zod").ZodOptional<import("zod").ZodString>;
15
+ database: import("zod").ZodOptional<import("zod").ZodString>;
16
+ ssl: import("zod").ZodOptional<import("zod").ZodString>;
17
+ uri: import("zod").ZodOptional<import("zod").ZodString>;
18
+ authToken: import("zod").ZodOptional<import("zod").ZodString>;
19
+ verbose: import("zod").ZodDefault<import("zod").ZodBoolean>;
20
+ strict: import("zod").ZodDefault<import("zod").ZodBoolean>;
21
+ }, "strict", import("zod").ZodTypeAny, {
22
+ schema?: string | string[] | undefined;
23
+ authToken?: string | undefined;
24
+ tablesFilter?: string | string[] | undefined;
25
+ config?: string | undefined;
26
+ host?: string | undefined;
27
+ port?: string | undefined;
28
+ user?: string | undefined;
29
+ password?: string | undefined;
30
+ database?: string | undefined;
31
+ ssl?: string | undefined;
32
+ connectionString?: string | undefined;
33
+ uri?: string | undefined;
34
+ strict: boolean;
35
+ dialect: "pg" | "mysql" | "sqlite";
36
+ driver: string;
37
+ verbose: boolean;
38
+ }, {
39
+ strict?: boolean | undefined;
40
+ schema?: string | string[] | undefined;
41
+ authToken?: string | undefined;
42
+ tablesFilter?: string | string[] | undefined;
43
+ config?: string | undefined;
44
+ verbose?: boolean | undefined;
45
+ host?: string | undefined;
46
+ port?: string | undefined;
47
+ user?: string | undefined;
48
+ password?: string | undefined;
49
+ database?: string | undefined;
50
+ ssl?: string | undefined;
51
+ connectionString?: string | undefined;
52
+ uri?: string | undefined;
53
+ dialect: "pg" | "mysql" | "sqlite";
54
+ driver: string;
55
+ }>;
56
+ export type CliParamsPush = TypeOf<typeof cliParamsPush>;
57
+ export declare const checkSchema: import("zod").ZodObject<{
58
+ out: import("zod").ZodOptional<import("zod").ZodString>;
59
+ config: import("zod").ZodOptional<import("zod").ZodString>;
60
+ driver: import("zod").ZodOptional<import("zod").ZodString>;
61
+ }, "strict", import("zod").ZodTypeAny, {
62
+ out?: string | undefined;
63
+ driver?: string | undefined;
64
+ config?: string | undefined;
65
+ }, {
66
+ out?: string | undefined;
67
+ driver?: string | undefined;
68
+ config?: string | undefined;
69
+ }>;
70
+ export type CheckConfig = TypeOf<typeof checkSchema>;
71
+ export {};
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
+ }>;
@@ -3,7 +3,7 @@ export type CollusionCheckOutput = {
3
3
  message?: string;
4
4
  action: "config" | "cli" | "error";
5
5
  };
6
- export type Commands = "push:sqlite" | "introspect:sqlite" | "introspect:pg" | "generate:pg" | "generate:sqlite" | "generate:mysql" | "check:pg" | "check:mysql" | "check:sqlite" | "up:pg" | "up:mysql" | "up:sqlite" | "drop" | "introspect:mysql" | "push:mysql" | "push:pg";
6
+ export type Commands = "push:sqlite" | "introspect:sqlite" | "introspect:pg" | "generate" | "check:pg" | "check:mysql" | "check:sqlite" | "up:pg" | "up:mysql" | "up:sqlite" | "drop" | "introspect:mysql" | "push:mysql" | "push:pg";
7
7
  /**
8
8
  * This function checks an input from a user and if there are any params together with config path - return true
9
9
  * @param options - user input
@@ -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;