/** * LaunchAgent Service - macOS user service management * * Aligned with OpenClaw launchd implementation: * - KeepAlive with SuccessfulExit=false * - ThrottleInterval for restart throttling * - ExitTimeOut for graceful shutdown * - launchctl bootstrap/bootout for modern service management * - launchctl kickstart -k for restart */ import type { GatewayService, GatewayServiceEnv } from './types.js'; export declare function resolveLaunchAgentPlistPath(env?: GatewayServiceEnv): string; export declare function buildLaunchAgentPlist(params: { label: string; programArguments: string[]; workingDirectory?: string; environment: Record; stdoutPath?: string; stderrPath?: string; }): string; export declare function isLaunchdAvailable(): boolean; export declare const launchdService: GatewayService;