import * as _palmares_core_dist_src_index_CkvPmDl3 from '@palmares/core/dist/src/index-CkvPmDl3';
import * as _palmares_core from '@palmares/core';
import { S as ServerDomain } from '../index-BhaZjd65.cjs';
import { A as AllServerSettingsType } from '../index-CyBsO7TM.cjs';
import '../status-RlKnv8eR.cjs';
import '../response/utils.cjs';

/**
 * This is the http app server, it is responsible for loading the server and starting it configuring all of
 * the routes of the application.
 *
 * The life cycle of the app is explained on '@palmares/core', but it's basically:
 * - `load`: Loads the constructor.
 * - `start`: Starts the appServer.
 * - `close`: Called when SIGINT is received.
 */
declare const httpAppServer: {
    new (domains: _palmares_core.Domain[], settings: _palmares_core.SettingsType2): {
        start: (configureCleanup: (args?: any) => Promise<void> | void) => Promise<void>;
        load: (args: {
            settings: AllServerSettingsType;
            commandLineArgs: {
                keywordArgs: {
                    port?: number;
                };
                positionalArgs: object;
            };
            domains: ServerDomain[];
        }) => Promise<void>;
        close: () => Promise<void>;
        baseAppServer: _palmares_core_dist_src_index_CkvPmDl3.B;
    };
    $$type: string;
};

export { httpAppServer };
