import { type ServiceScope } from "./service-definition.js"; import type { ServiceHost } from "./service-host.js"; export interface ServiceFiles { stateDir: string; definition: string; metadata: string; } export declare function getServiceFiles(scope: ServiceScope, host: ServiceHost): ServiceFiles; /** 仅收紧最终状态目录,避免递归创建时把 XDG 等共享父目录也设为私有。 */ export declare function ensurePrivateServiceDirectory(directory: string): void; export declare function writePrivateJson(file: string, value: unknown): void; export declare function writeServiceFile(file: string, content: string, encoding?: BufferEncoding): void; //# sourceMappingURL=service-files.d.ts.map