import { spawn as spawnProcess } from 'node:child_process'; import type { DesktopPaths } from '../shared/types.js'; import type { RuntimeLaunchTarget } from './runtime-service.js'; import { type Pm2AppSummary } from './runtime-source.js'; interface Pm2ListDeps { existsSync?: (path: string) => boolean; spawn?: typeof spawnProcess; execPath?: string; env?: NodeJS.ProcessEnv; timeoutMs?: number; /** Probed user shell PATH for bundled runtimes (see probeShellPathEnv). */ pathEnv?: string; } export declare const defaultPm2ListTimeoutMs = 25000; export declare function listPm2Apps(paths: DesktopPaths, runtime: RuntimeLaunchTarget, deps?: Pm2ListDeps): Promise; export {}; //# sourceMappingURL=pm2-apps.d.ts.map