import type { GatewayServiceRuntime } from "./service-runtime.js"; export declare function resolveTaskScriptPath(env: Record): string; export declare function readScheduledTaskCommand(env: Record): Promise<{ programArguments: string[]; workingDirectory?: string; environment?: Record; } | null>; export type ScheduledTaskInfo = { status?: string; lastRunTime?: string; lastRunResult?: string; }; export declare function parseSchtasksQuery(output: string): ScheduledTaskInfo; export declare function installScheduledTask({ env, stdout, programArguments, workingDirectory, environment, description, }: { env: Record; stdout: NodeJS.WritableStream; programArguments: string[]; workingDirectory?: string; environment?: Record; description?: string; }): Promise<{ scriptPath: string; }>; export declare function uninstallScheduledTask({ env, stdout, }: { env: Record; stdout: NodeJS.WritableStream; }): Promise; export declare function stopScheduledTask({ stdout, env, }: { stdout: NodeJS.WritableStream; env?: Record; }): Promise; export declare function restartScheduledTask({ stdout, env, }: { stdout: NodeJS.WritableStream; env?: Record; }): Promise; export declare function isScheduledTaskInstalled(args: { env?: Record; }): Promise; export declare function readScheduledTaskRuntime(env?: Record): Promise;