/** Home root for config + state. OURS_FLEET_HOME overrides (tests, exotic setups). */ export declare const home: () => string; /** * systemctl/journalctl --user locate the user bus via $XDG_RUNTIME_DIR/bus. * sudo/su shells run inside the CALLING user's logind session, so the target * user's shell gets no XDG_RUNTIME_DIR even when linger keeps the user manager * (and the bus socket) alive at /run/user/. Derive the standard path once * at CLI startup: never override an existing value, and only fire when the dir * actually exists — when it doesn't, the real problem is missing linger and the * systemctl error (plus its hint) is the right signal. (#9) */ export declare function deriveXdgRuntimeDir(env?: NodeJS.ProcessEnv, uid?: number | undefined, exists?: (p: string) => boolean): string | undefined; export declare const stateRoot: () => string; export declare const agentsRoot: () => string; export declare const tmpRoot: () => string; export declare const logsRoot: () => string; export declare const watchdogsRoot: () => string; export declare const agentDir: (name: string, temp?: boolean) => string; export declare const defaultConfigPath: () => string; export declare const fleetDDir: () => string;