import { InstallEntry, Manifest } from './types.js'; export declare function loadOrCreateManifest(manifestPath: string): Promise; export interface SaveManifestOptions { spaces?: number; } export declare function saveManifest(manifestPath: string, manifest: Manifest, opts?: SaveManifestOptions): Promise; export interface UpsertEntryResult { updated: boolean; created: boolean; key: string; } export declare function upsertEntry(manifest: Manifest, entry: InstallEntry): UpsertEntryResult; export interface RemoveEntryResult { removed: boolean; key: string; } export declare function removeEntry(manifest: Manifest, key: string): RemoveEntryResult;