export interface LoginCredentials { user: string; host: string; password: string; database: string; } export interface PreDefinedDbConnection { database?: string; query(query: string, values: any[]): Promise; close(): void; use(database: string): void; } export interface DbResult { id: string; }