import type { ServiceInstance } from "./service-instances.js"; import type { serviceSupervisorProjection } from "./service-supervision.js"; type RecordedSupervisor = ReturnType; /** The user manager's own config directory, never this CLI shell's XDG override. A missing * bus or malformed environment is a refusal, not permission to guess a home path. */ export declare function systemdUserUnitDirectory(): string; /** An exact recorded user-unit read. Never discovers a unit by process name/cwd, reads its * environment, invokes a unit action/reload, or interprets output as an action recipe. */ export declare function observeRecordedSupervisor(instance: ServiceInstance, recorded: Pick): { state: "unavailable"; observedAt: string; reason: string; unit: string | null; activeState: null; subState: null; loadState: null; unitFileState: null; mainPid: null; invocationId: null; mainProcessAttribution: "not-checked"; daemonReloadRequired: null; dropInsReported: null; readiness: "not-checked"; } | { state: "observed"; observedAt: string; reason: null; unit: string; activeState: string; subState: string; loadState: string; unitFileState: string; mainPid: number | null; invocationId: string | null; mainProcessAttribution: "launcher" | "service-process" | "different-or-unattributed" | "not-reported"; daemonReloadRequired: boolean; dropInsReported: boolean; readiness: "not-checked"; }; /** One bounded user-manager mutation. A nonzero/timeout is unknown because native effects may * have landed. Never copy systemctl output or retry the command after an uncertain result. */ export declare function submitSystemdUnitRegistration(step: "reload" | "enable" | "disable", unit: string): void; /** A verified source file and exact native fragment are prerequisites; a nominally enabled * name cannot stand in for an inactive, unchanged unit with no drop-ins. */ export declare function submitSystemdUnitControl(operation: "start" | "stop", unit: string): void; export declare function assertSystemdUnitAbsent(unit: string, unitPath: string): void; export declare function assertSystemdInstallState(instance: ServiceInstance, unit: string, unitPath: string, autostart: "disabled" | "enabled"): void; export {}; //# sourceMappingURL=service-systemd.d.ts.map