/** * Single source of truth for database provider → SQL dialect resolution. * * Both the compiler (`apps/compiler/src/transforms/dialect.ts`) and the CLI * (`quickback schema check|sync`) resolve dialects through this module. Keeping * one definition here is what prevents the class of bug where the two sides * disagree and `schema sync` writes wrong-dialect declarations into authored * source (issue #213). */ export type ProviderDialect = 'sqlite' | 'postgres' | 'mysql'; export declare const SQLITE_PROVIDERS: readonly ["cloudflare-d1", "better-sqlite3", "bun-sqlite", "libsql", "turso"]; export declare const POSTGRES_PROVIDERS: readonly ["supabase", "neon", "vercel-postgres", "postgres", "postgresql"]; export declare const MYSQL_PROVIDERS: readonly ["planetscale", "mysql", "mysql2"]; /** * Resolve a database provider name to its SQL dialect family. * * Returns `undefined` for unknown or missing provider names so each caller * chooses its own fallback explicitly (the compiler defaults to sqlite; the * CLI does the same but refuses dialects it cannot emit). */ export declare function resolveProviderDialect(providerName: string | undefined): ProviderDialect | undefined; //# sourceMappingURL=provider-dialects.d.ts.map