import { ClassType } from '@deepkit/core';
import { Database, DatabaseSession } from '@deepkit/orm';
import { PostgresDatabaseAdapter as BasePostgresDatabaseAdapter } from '@deepkit/postgres';
import { PoolConfig } from 'pg';
import { BaseDatabase } from './common';
export type PostgresDatabaseSession = DatabaseSession<PostgresDatabaseAdapter>;
export declare class PostgresDatabaseAdapter extends BasePostgresDatabaseAdapter {
    registerTransformations(): void;
}
export interface IPostgresDatabaseAdapterConfig extends PoolConfig {
    enableLocksTable?: boolean;
}
export declare function createPostgresDatabase(config: IPostgresDatabaseAdapterConfig, entities?: ConstructorParameters<typeof Database>[1]): ClassType<BaseDatabase<PostgresDatabaseAdapter>>;
export declare type __ΩPostgresDatabaseSession = any[];
export declare type __ΩIPostgresDatabaseAdapterConfig = any[];
//# sourceMappingURL=postgres.d.ts.map