import { NxProjectJsonService, PackageJsonService, WrapApplicationOptionsService } from '@nestjs-mod/common';
import { OnModuleInit } from '@nestjs/common';
import { FlywayConfiguration } from '../flyway.configuration';
import { FlywayConfigFileService } from './flyway-config-file.service';
export declare class FlywayInfrastructureUpdaterService implements OnModuleInit {
    private readonly packageJsonService;
    private readonly nxProjectJsonService;
    private readonly flywayConfiguration;
    private readonly flywayConfigFileService;
    private readonly wrapApplicationOptionsService;
    constructor(packageJsonService: PackageJsonService, nxProjectJsonService: NxProjectJsonService, flywayConfiguration: FlywayConfiguration, flywayConfigFileService: FlywayConfigFileService, wrapApplicationOptionsService: WrapApplicationOptionsService);
    onModuleInit(): void;
    update(): void;
    private updatePackageJsonFile;
    private updateProjectJsonFile;
    private updateFlywayConfigFile;
    private createFirstMigrations;
    private getDbConnectionEnvKeys;
    parseDatabaseUrl(databaseUrl: string): {
        USERNAME?: string;
        PASSWORD?: string;
        HOST?: string;
        DATABASE?: string;
        SCHEMA?: string;
        SCHEMAS?: string;
        PROTOCOL?: string;
        PORT?: number;
    };
}
