import { CommandContext } from "../core/command-context"; import { GeneratedFileEntry, GeneratedFileType, SoapRegistryConfig } from "../config/schemas/types"; export interface RegisterFileOptions { root: string; relativePath: string; type: GeneratedFileType; owner?: string; registry: SoapRegistryConfig; } export declare function hashContent(content: string): string; export declare function readFileHash(filePath: string): Promise; export declare function upsertGeneratedFile(registry: SoapRegistryConfig, entry: Omit & { generatedAt?: string; }): void; export declare function assertCanWriteGeneratedFile(root: string, relativePath: string, registry: SoapRegistryConfig, options?: { force?: boolean; writeNew?: boolean; }): Promise; export declare function registerGeneratedFile(options: RegisterFileOptions, content: string, context: CommandContext): Promise;