zephyr-agent
Version:
Zephyr plugin agent
22 lines • 883 B
text/typescript
export interface ManifestAssetResult {
content: string;
hash: string;
size: number;
}
/**
* Generate a zephyr-manifest.json asset for an environment Merges version-level and
* environment-level variables
*
* @param versionVars - Variables from the version's manifest
* @param envVars - Environment-specific variables (take priority)
* @returns Manifest content, hash, and size
*/
export declare function generateEnvironmentManifest(versionVars: Record<string, string>, envVars: Record<string, string>): Promise<ManifestAssetResult>;
/**
* Extract variables from a manifest content string
*
* @param manifestContent - JSON content of a zephyr-manifest.json file
* @returns The zeVars object from the manifest
*/
export declare function extractManifestVars(manifestContent: string): Record<string, string>;
//# sourceMappingURL=generate-manifest-asset.d.mts.map