import type { Document } from "yaml";
import type { File } from "../fs-stage/file.js";
import type { TemplateId } from "./template.js";
export interface ModifyTemplateYamlOptions {
    readonly templateId: TemplateId;
    readonly pathSegments: readonly [string, ...string[]];
    readonly modify: (document: Document.Parsed) => Document.Parsed;
}
export declare function modifyTemplateYaml({ templateId, pathSegments, modify }: ModifyTemplateYamlOptions): Promise<File>;
