import type { ParsedArgs } from "@cotal-ai/core"; export declare const DETACHED_SUPERVISION_DOC_SECTION = "Supervising the detached stack"; interface SystemctlResult { status: number | null; stdout?: string | Buffer; error?: Error; } export type SystemctlRunner = (args: readonly string[]) => SystemctlResult; /** * Warn when background up is the current main process of a systemd service. The native * invocation and main PID must both match; inherited terminal/scope metadata is not ownership. * Inspection failure leaves this advisory unavailable and never changes startup or a unit. */ export declare function detachedSystemdSupervisionWarning(env?: NodeJS.ProcessEnv, runner?: SystemctlRunner, pid?: number): string | undefined; /** * The public `up` command's advisory: every background run, a refresh of a running stack included. * A foreground run already holds the unit's lifetime, a dry run starts nothing and manifest boot * has no foreground form to name. */ export declare function upSystemdSupervisionWarning(values: ParsedArgs["values"], env?: NodeJS.ProcessEnv, runner?: SystemctlRunner, pid?: number): string | undefined; export {}; //# sourceMappingURL=systemd-supervision.d.ts.map