export interface ServiceRecord { name: string; command: string; args: string[]; pid: number; logPath: string; startedAt: number; } /** * Start a detached service. On Windows a `.cmd` shim cannot be exec'd directly, * so it is routed through cmd.exe — launching `robopark` any other way fails * with "%1 is not a valid Win32 application". */ export declare function serviceStart(name: string, command: string, args?: string[]): ServiceRecord | { error: string; }; export declare function serviceStop(name: string): { ok: boolean; error?: string; }; export declare function serviceList(): Array; export declare function serviceRestart(name: string): ServiceRecord | { error: string; };