import IEngine from '../IEngine'; import * as pg from 'pg'; import IExec from '../IExec'; export default class EnginePostgres implements IEngine, IExec { private readonly url?; private connectionInProgress?; private _client?; constructor(url?: string); connect(): Promise; isConnected(): boolean; close(): Promise; drop(): Promise; exec(fn: (client: pg.Client) => B): Promise; ensureConnection(): Promise; }