export type DatabaseProvider = 'postgresql' | 'sqlite' | 'mysql';
export interface DatabaseConfig {
    provider: DatabaseProvider;
    url: string;
    directUrl?: string;
    poolSize?: number;
}
export declare function detectProvider(url: string): DatabaseProvider;
export declare function createDatabaseClient(config: DatabaseConfig): Promise<unknown>;
export declare function createDatabaseClientFromEnv(): Promise<unknown>;
//# sourceMappingURL=create-adapter.d.ts.map