import { PostgresUnitOfWork } from "./unit-of-work.js";
export interface MigrationStatus {
    readonly applied: number;
    readonly expected: number;
    readonly pending: number;
    readonly drift: readonly string[];
}
export interface PostgresRuntime {
    readonly uow: PostgresUnitOfWork;
    migrate(): Promise<void>;
    health(): Promise<{
        readonly status: "ok";
        readonly database: "postgresql";
    }>;
    migrationStatus(): Promise<MigrationStatus>;
    close(): Promise<void>;
}
export declare function createPostgresRuntime(connectionString: string, migrationsFolder: string): PostgresRuntime;
export declare function createPostgresPersistence(connectionString: string): PostgresUnitOfWork;
//# sourceMappingURL=database.d.ts.map