import { DataSourceManager, ILogger } from '@midwayjs/core'; import { Drizzle, DrizzleDataSourceOptions } from './drizzle'; import { DrizzleConfigOptions } from './interface'; export declare class DrizzleDataSourceManager extends DataSourceManager { logger: ILogger; baseDir: string; configOptions: DrizzleConfigOptions; init(): Promise; getName(): string; getDefaultDataSourceName(): string; protected createDataSource(config: DrizzleDataSourceOptions, dataSourceName: string): Promise; protected checkConnected(dataSource: Drizzle): Promise; protected destroyDataSource(dataSource: Drizzle): Promise; } export declare function getDataSource(dataSourceName?: string): Drizzle; //# sourceMappingURL=dataSourceManager.d.ts.map