/** * Generated-file detection for repository edit tools. * * Models otherwise spend minutes generating lockfile hunks token by token. * Generated files must change through the deterministic command that * generates them, never through model-authored patches. */ interface GeneratedPathMatch { readonly path: string; readonly label: string; readonly remedy: string; } /** Paths named by `*** Add File:` / `*** Update File:` / `*** Delete File:` / `*** Move to:` headers. */ export declare function patchTargetPaths(patchText: string): readonly string[]; /** Generated files targeted by the patch, with the deterministic remedy for each. */ export declare function findGeneratedPatchTargets(patchText: string): readonly GeneratedPathMatch[]; /** One actionable error message covering every generated target in the patch. */ export declare function generatedPatchTargetsError(matches: readonly GeneratedPathMatch[]): string; export {};