import type { ServiceAdapter, ServiceStatus, InstallResult } from './types.js'; /** Rejection shape from runCmd() — carries the ORIGINAL exec() error's * `.code`/`.signal` alongside whatever the command printed before it * failed, so callers can tell "the command ran and reported a real * negative state" apart from "we could not run/finish the query at all". */ export interface RunCmdError extends Error { code?: string | number | null; signal?: NodeJS.Signals | null; stdout?: string; } export declare class LaunchdAdapter implements ServiceAdapter { readonly platform: "darwin"; install(execPath: string, port: number): Promise; uninstall(): Promise; start(): Promise; stop(): Promise; status(): Promise; installBackupTimer(execPath: string, keep: number): Promise; uninstallBackupTimer(): Promise; /** FEAT-443 SLICE-2 — see watchdog-probe.ts header. Not part of * ServiceAdapter (see watchdog-probe.ts's hasWatchdogTimer guard) — * install-flow.ts and cli/service.ts detect it via duck typing. */ installWatchdogTimer(execPath: string, intervalSec: number): Promise; uninstallWatchdogTimer(): Promise; }