export interface ServiceSpec { args: string[]; animaHome: string; id: string; /** Previous ids whose pid files should be honored during command renames. */ legacyIds?: string[]; logName: string; /** Substrings that identify the process command line; any match counts. */ matchAny: string[]; /** Optional human URL for display in `status`. */ url?: string; } interface ServiceStatusEntry { id: string; logPath: string; manager?: 'launchd' | 'pid' | 'systemd'; pid?: number; status: 'running' | 'stopped'; url?: string; } export interface SupervisorOptions { /** Path to the animactl entrypoint that child processes will invoke. */ animactl: string; /** Working directory for spawned children. */ cwd: string; } export declare function startService(spec: ServiceSpec, options: SupervisorOptions): Promise; export declare function stopService(spec: ServiceSpec): Promise; export declare function isServiceRunning(spec: ServiceSpec): Promise; export declare function installService(spec: ServiceSpec, options: SupervisorOptions): Promise; export declare function uninstallService(spec: ServiceSpec): Promise; export declare function stopPidFallbackService(spec: ServiceSpec): Promise; export declare function printStatus(specs: ServiceSpec[]): Promise; export {}; //# sourceMappingURL=supervisor.d.ts.map