/** 供 gateway 命令调用:写入当前进程 PID */ export declare function writeGatewayPid(): void; /** 供 gateway 命令调用:关闭时删除 PID 文件 */ export declare function removeGatewayPidFile(): void; /** 获取 PID 文件路径(供外部读取) */ export declare function getGatewayPidPath(): string; export type ServiceOptions = { nodePath: string; cliPath: string; }; export declare function serviceInstall(opts: ServiceOptions): void; export declare function serviceUninstall(): void; export declare function serviceStop(): boolean;