/** * Adapter Factory - Centralized database adapter creation * Extracts adapter creation logic for reuse across MCP and HTTP modes */ import type { DbAdapter, DbConfig } from '../types/adapter.js'; /** * Supported database types */ export type DbType = 'mysql' | 'postgres' | 'redis' | 'oracle' | 'dm' | 'sqlserver' | 'mongodb' | 'sqlite' | 'kingbase' | 'gaussdb' | 'oceanbase' | 'tidb' | 'clickhouse' | 'polardb' | 'vastbase' | 'highgo' | 'goldendb'; /** * Normalize database type aliases to canonical names */ export declare function normalizeDbType(type: string): DbType; /** * Validate database configuration */ export declare function validateDbConfig(config: DbConfig): void; /** * Create database adapter based on configuration */ export declare function createAdapter(config: DbConfig): DbAdapter; //# sourceMappingURL=adapter-factory.d.ts.map