import type { CronFields } from './cron.js'; import type { TimerContext, TimerPlan } from './timer.js'; /** Thrown when a value bound for a unit file contains a raw newline, which would corrupt the ini-style syntax. */ export declare class SystemdUnitValueError extends Error { constructor(value: string); } /** * Compose the `.service`/`.timer` unit pair plus their `systemctl --user` * install/remove steps. `dayOfMonth`/`dayOfWeek` are never both * constrained (`parseCron` rejects that combination), so `OnCalendar=` * below never needs to reproduce cron's OR semantics between them. */ export declare function composeSystemdTimer(context: TimerContext, fields: CronFields): TimerPlan; /** `loginctl show-user --property=Linger` — user timers do not fire without a session unless lingering is on. */ export declare function composeLingerCheckArgv(user: string): readonly string[]; /** One-line hint for the command layer to surface when lingering is off. */ export declare const LINGER_HINT = "systemd user timers stop firing once you log out unless lingering is enabled \u2014 run `loginctl enable-linger ` to keep them running";