/**
 * Copyright 2013-2026 the original author or authors from the JHipster project.
 *
 * This file is part of the JHipster project, see https://www.jhipster.tech/
 * for more information.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
import BaseApplicationGenerator from '../base-simple-application/index.ts';
import type { Application as SpringDataRelationalApplication } from '../spring-boot/generators/data-relational/index.ts';
import { getJdbcUrl, getR2dbcUrl } from '../spring-boot/generators/data-relational/support/index.ts';
import type { Application as SpringBootApplication } from '../spring-boot/index.ts';
import type { Application as DockerApplication, Config as DockerConfig, Options as DockerOptions, Source as DockerSource } from './types.ts';
type Application = DockerApplication & SpringDataRelationalApplication<any> & SpringBootApplication<any>;
export default class DockerGenerator extends BaseApplicationGenerator<Application, DockerConfig, DockerOptions, DockerSource> {
    [BaseApplicationGenerator.PREPARING]: Record<"dockerServices" | "addAppServices", import("../base-core/types.js").GenericTask<any, import("../base/tasks.js").TaskParamWithControl & {
        source: DockerSource;
    } & {
        application: Application;
    } & import("../base-simple-application/tasks.js").ApplicationDefaultsTaskParam<Application>>>;
    [BaseApplicationGenerator.WRITING]: Record<"writeDockerFiles", import("../base-core/types.js").GenericTask<any, import("../base-simple-application/tasks.js").TaskParamWithApplication<Application>>>;
    [BaseApplicationGenerator.POST_WRITING]: Record<never, import("../base-core/types.js").GenericTask<any, import("../base/tasks.js").TaskParamWithControl & {
        source: DockerSource;
    } & {
        application: Application;
    }>>;
    hasServicesFile: boolean;
    beforeQueue(): Promise<void>;
    get preparing(): Record<"dockerServices" | "addAppServices", import("../base-core/types.js").GenericTask<any, import("../base/tasks.js").TaskParamWithControl & {
        source: DockerSource;
    } & {
        application: Application;
    } & import("../base-simple-application/tasks.js").ApplicationDefaultsTaskParam<Application>>>;
    get writing(): Record<"writeDockerFiles", import("../base-core/types.js").GenericTask<any, import("../base-simple-application/tasks.js").TaskParamWithApplication<Application>>>;
    get postWriting(): Record<"packageJsonScripts" | "dockerServices", import("../base-core/types.js").GenericTask<any, import("../base/tasks.js").TaskParamWithControl & {
        source: DockerSource;
    } & {
        application: Application;
    }>>;
    get end(): Record<"dockerComposeUp", import("../base-core/types.js").GenericTask<any, import("../base-simple-application/tasks.js").TaskParamWithApplication<Application>>>;
    /**
     * @private
     * Returns the JDBC URL for a databaseType
     */
    getJDBCUrl(...args: Parameters<typeof getJdbcUrl>): string;
    /**
     * @private
     * Returns the R2DBC URL for a databaseType
     *
     * @param {string} databaseType
     * @param {*} options: databaseName, and required infos that depends of databaseType (hostname, localDirectory, ...)
     */
    getR2DBCUrl(...args: Parameters<typeof getR2dbcUrl>): string;
}
export {};
