export interface BungresKitConfig { /** * Glob pattern(s) pointing to your schema file(s). * e.g. "./src/db/schema.ts" or "./src/db/schema/index.ts" */ schema: string | string[]; /** * Path to the seed file to execute with `bungres seed`. * e.g. "./src/db/seed.ts" */ seed?: string; /** * Output directory for generated migration .sql files. * Default: "./migrations" */ out?: string; /** * Postgres connection credentials. * URL can also come from the DATABASE_URL environment variable. */ dbCredentials?: { url: string; }; /** * Postgres schema name to introspect with `bungres pull`. * Default: "public" */ dbSchema?: string; /** * Migrations tracking options. */ migrations?: { /** * Name of the table used to track applied migrations. * Default: "__bungres_migrations" */ table?: string; /** * Postgres schema where the migrations tracking table lives. * Default: "bungres" */ schema?: string; }; /** * When true, split generated SQL at `-->statement-breakpoint` comments * and execute each statement individually inside a transaction. * Default: true */ breakpoints?: boolean; /** * When true, commands like `push` and `drop` will prompt for confirmation * before making destructive changes. * Default: false */ strict?: boolean; /** * Output directory for `bungres pull` generated TypeScript. * Default: "./src/db/generated" */ outDir?: string; /** Print every SQL statement executed. Default: false */ verbose?: boolean; } export interface ResolvedConfig { schema: string | string[]; seed: string; out: string; dbUrl: string; dbSchema: string; migrationsTable: string; migrationsSchema: string; breakpoints: boolean; strict: boolean; outDir: string; verbose: boolean; } export declare function loadConfig(cwd?: string, explicitConfigPath?: string): Promise; //# sourceMappingURL=config.d.ts.map