import type { ServiceApplyResult, ServicePlan, ServicePlatform, ServiceScope, ServiceStatus } from './types.js'; export interface ServiceOptions { platform?: NodeJS.Platform; scope?: ServiceScope; homeDir?: string; nodePath?: string; skillfmEntryPath?: string; dryRun?: boolean; } export interface SkillServiceOptions extends ServiceOptions { slug: string; } type CommandRunner = (command: string, args: string[]) => Promise<{ exitCode: number | null; stdout: string; stderr: string; }>; export declare function detectServicePlatform(platform?: NodeJS.Platform): ServicePlatform | null; export declare function defaultServiceScope(servicePlatform: ServicePlatform | null, requested?: ServiceScope): ServiceScope; export declare function isManagedServiceSupported(platform?: NodeJS.Platform): boolean; export declare function resolveSkillfmEntryPath(): string; export declare function buildBaseServiceInstallPlan(opts?: ServiceOptions): ServicePlan; export declare function buildSkillServiceInstallPlan(opts: SkillServiceOptions): ServicePlan; export declare function buildBaseServiceUninstallPlan(opts?: ServiceOptions): ServicePlan; export declare function applyServicePlan(plan: ServicePlan, opts?: { runner?: CommandRunner; removeFiles?: boolean; }): Promise; export declare function installBaseService(opts?: ServiceOptions): Promise; export declare function uninstallBaseService(opts?: ServiceOptions): Promise; export declare function installSkillService(opts: SkillServiceOptions): Promise; export declare function restartSkillService(opts: SkillServiceOptions): Promise; export declare function restartBaseService(opts?: ServiceOptions): Promise; export declare function getServiceStatus(opts?: ServiceOptions & { slug?: string; }): Promise; export declare function readServiceFile(path: string): string | null; export {}; //# sourceMappingURL=manager.d.ts.map