/** * Scheduled Task Service - Windows service management via schtasks * * Aligned with OpenClaw Windows implementation: * - Task with ONLOGON trigger for persistence * - RepetitionInterval for keep-alive behavior * - Proper start/stop/restart lifecycle */ import type { GatewayService } from './types.js'; declare function resolveTaskCommandSidecarPath(taskName: string): string; declare function resolveTaskWrapperPath(taskName: string): string; declare function resolveTaskXmlPath(taskName: string): string; declare function escapeCmdSetValue(value: string): string; declare function quoteCmdArg(value: string): string; declare function buildTaskWrapperContent(params: { programArguments: string[]; workingDirectory?: string; environment?: Record; }): string; declare function buildTaskXml(params: { description: string; wrapperPath: string; workingDirectory?: string; }): string; export declare const schtasksTestInternals: { buildTaskWrapperContent: typeof buildTaskWrapperContent; buildTaskXml: typeof buildTaskXml; escapeCmdSetValue: typeof escapeCmdSetValue; quoteCmdArg: typeof quoteCmdArg; resolveTaskCommandSidecarPath: typeof resolveTaskCommandSidecarPath; resolveTaskWrapperPath: typeof resolveTaskWrapperPath; resolveTaskXmlPath: typeof resolveTaskXmlPath; }; export declare function isSchtasksAvailable(): boolean; export declare const schtasksService: GatewayService; export {};