/**
 * Instance manifest — the single source of truth for a folder-anchored
 * service install. Written by `install` into the deploy folder, read by
 * every lifecycle command to reconstruct the ServiceConfig.
 */
import type { Component, InstanceManifest } from './types.js';
/** Per-component manifest filename. */
export declare function manifestFilename(component: Component): string;
/** Resolve the manifest path inside an instance directory. */
export declare function manifestPath(instanceDir: string, component: Component): string;
/**
 * Read the manifest for `component` from `instanceDir`.
 * Returns null when the file does not exist; throws on parse or schema errors.
 */
export declare function readManifest(instanceDir: string, component: Component): InstanceManifest | null;
/**
 * Write the manifest for `manifest.component` into `instanceDir`.
 * Returns the full path written.
 */
export declare function writeManifest(instanceDir: string, manifest: InstanceManifest): string;
/**
 * Read the running kici-admin's version from the orchestrator package.json.
 *
 * `process.env.npm_package_version` is only populated under `npm run` and is
 * undefined when kici-admin runs as a globally-installed binary, which is the
 * actual install path. Reading from the package.json on disk is the only
 * reliable source.
 */
export declare function readKiciVersion(): string;
//# sourceMappingURL=manifest.d.ts.map