import type { ApplicationDeliveryOptions } from './delivery.js'; export interface InstalledApplication { schema: 'comet.workflow.application.install.v1'; id: string; version: string; contentHash: string; packageRef: string; entry?: { root: string; contentHash: string; }; scope?: 'project' | 'user'; entries?: Array<{ root: string; contentHash: string; platforms: string[]; }>; } export declare function installedApplicationEntries(value: InstalledApplication | null): { root: string; contentHash: string; platforms: string[]; }[]; export declare function safeId(id: string): string; export declare function inspectStorage(root: string, ref: string, expected: 'file' | 'directory'): Promise; export declare function ensureStorage(root: string, ref: string): Promise; export declare function readInstalled(root: string, id: string): Promise; /** 查找新 Run 的默认版本;现有 Run 始终使用原不可变 packageRoot。 */ export declare function resolveInstalledWorkflowApplication(options: ApplicationDeliveryOptions, id: string): Promise; //# sourceMappingURL=installed-application.d.ts.map