import type { MySql2Database, MySql2DrizzleConfig } from 'drizzle-orm/mysql2'; import type { Connection as CallbackConnection, Pool as CallbackPool, PoolOptions } from 'mysql2'; import type { Connection, Pool } from 'mysql2/promise'; import type { Schema } from '../types'; export type MySql2Connection = Pool | Connection | CallbackPool | CallbackConnection; export type MySQL2DataSourceOptions = { type: 'mysql'; } & MySql2DrizzleConfig & ({ connection: string | PoolOptions; } | { client: MySql2Connection; }); export type MySQL2Drizzle = MySql2Database & { $client: MySql2Connection; }; export interface MySQLExecuteResult { info: string; insertId: number; fieldCount: number; affectedRows: number; changedRows: number; warningStatus: number; serverStatus: number; } //# sourceMappingURL=interface.d.ts.map