import type { LaunchOptions } from "../../types"; import { type LoadedConfig } from "../config/config-loader"; import type { ShutdownManager } from "../shutdown"; import type { BuildOptions, NormalizedLoadedConfig, ProjectRuntimeConfig } from "./runtime-types"; export declare function setupProcessHandlers(shutdownManager?: ShutdownManager): void; export declare function withRaisedMaxListeners(task: () => Promise): Promise; export declare function applyVerboseChannels(verbose?: string[]): void; export declare function normalizeLoadedConfig(loadedConfig: LoadedConfig, projectFolder: string): NormalizedLoadedConfig; export declare function loadProjectRuntimeConfig(projectFolder: string, env: string, options: BuildOptions | LaunchOptions, shutdownManager?: ShutdownManager): Promise;