import type { ServiceInstallOptions, ServiceInstallOutcome, ServiceName, ServiceUninstallOutcome } from '../types.js'; export interface SystemdInstallOptions extends ServiceInstallOptions { _entrypointExistsCheck?: (p: string) => boolean; } export declare function detectSystemdVersion(): number | undefined; export declare function installSystemdService(name: ServiceName, opts?: SystemdInstallOptions): ServiceInstallOutcome; export declare function uninstallSystemdService(name: ServiceName): ServiceUninstallOutcome; export declare function readUnitFile(name: ServiceName): string | undefined;