/** * Metadata Management for Init Command * * This file handles hash calculation, metadata file operations, * and package version tracking for conflict detection */ import { InitMetadata } from './types'; /** * Calculate SHA-256 hash of a file * @param filePath - Absolute path to the file * @returns SHA-256 hash as hex string */ export declare function calculateFileHash(filePath: string): Promise; /** * Load metadata from .init-metadata.json file * @param metadataPath - Absolute path to metadata file * @returns InitMetadata object or null if file doesn't exist or is invalid */ export declare function loadMetadata(metadataPath: string): Promise; /** * Save metadata to .init-metadata.json file * @param metadataPath - Absolute path to metadata file * @param metadata - InitMetadata object to save */ export declare function saveMetadata(metadataPath: string, metadata: InitMetadata): Promise; /** * Get the current package version from package.json * @returns Version string (e.g., "1.12.0") */ export declare function getPackageVersion(): string; //# sourceMappingURL=metadata.d.ts.map