import type { Knex } from 'knex'; import Dialect from '../dialect'; import SqliteSchemaInspector from './schema-inspector'; import type { Database } from '../..'; export default class SqliteDialect extends Dialect { schemaInspector: SqliteSchemaInspector; constructor(db: Database); getBatchInsertSize(): number; configure(conn?: Knex.Sqlite3ConnectionConfig): void; useReturning(): boolean; initialize(nativeConnection: unknown): Promise; canAlterConstraints(): boolean; /** * SQLite foreign keys are unnamed (declared inline on the table), so only * indexes need dropping. Queries run on `trx`: SQLite pools hold a single * connection, which the migration transaction already owns. */ dropSchemaObject(trx: Knex, { table, name }: { table: string; name: string; }): Promise; getSqlType(type: string): string; supportsOperator(operator: string): boolean; startSchemaUpdate(): Promise; endSchemaUpdate(): Promise; transformErrors(error: NodeJS.ErrnoException): void; canAddIncrements(): boolean; } //# sourceMappingURL=index.d.ts.map