/**
 * Cross-platform service installer for persistent ShieldCortex background service.
 *
 * Supports:
 *  - macOS: LaunchAgent plist
 *  - Linux: systemd user service
 *  - Windows: VBS script in Startup folder
 */
import { type ServiceMode } from './templates.js';
interface ServiceOptions {
    mode?: ServiceMode;
}
export declare function detectStaleAppendLogs(content: string): {
    stale: boolean;
    missingPath: string | null;
};
export declare function installService(options?: ServiceOptions): Promise<void>;
export declare function repairService(options?: ServiceOptions): Promise<void>;
export declare function uninstallService(options?: {
    cleanLogs?: boolean;
}): Promise<void>;
export declare function serviceStatus(): Promise<void>;
export declare function handleServiceCommand(subcommand: string, args?: string[]): Promise<void>;
export {};
