import type { EventBus } from "@bluecadet/launchpad-utils/event-bus"; import type { Logger } from "@bluecadet/launchpad-utils/logger"; import { type Result, ResultAsync } from "neverthrow"; import type pm2 from "pm2"; import type { PM2Error } from "../errors.js"; import { AppNotFoundError, InvalidAppNamesError, ProcessNotFoundError, WindowsApiError } from "../errors.js"; import type { ResolvedAppConfig, ResolvedMonitorConfig } from "../monitor-config.js"; import type { ProcessManager } from "./process-manager.js"; export declare class AppManager { #private; constructor(logger: Logger, processManager: ProcessManager, config: ResolvedMonitorConfig, cwd?: string); setEventBus(eventBus: EventBus): void; startApp(appName: string): ResultAsync; stopApp(appName: string): ResultAsync; isAppRunning(appName: string, silent?: boolean): ResultAsync; getAppProcess(appName: string, silent?: boolean): ResultAsync; validateAppNames(appNames?: string | string[] | null): Result; getAllAppNames(): string[]; getAppOptions(appName: string): Result; applyWindowSettings(appNames?: string[]): ResultAsync; } //# sourceMappingURL=app-manager.d.ts.map