import { type ServerSpecDocument } from '../../domain/server-spec/ServerSpecDocument.js'; import type { IServerSpecRepository, WriteServerSpecOptions } from '../ports/outbound/IServerSpecRepository.js'; /** * Change one server's spec (ADR-0003 ยง6): load (hand edits absorbed, or an * import), apply `mutate` to a copy, write with the loaded revision. A * revision conflict (another writer in between) is retried once with a fresh * load. Every config writer goes through this, so server.yaml stays the one * definition. Returns the written document. */ export declare function updateServerSpec(repo: IServerSpecRepository, name: string, mutate: (doc: ServerSpecDocument) => ServerSpecDocument, options?: Omit): Promise; //# sourceMappingURL=updateServerSpec.d.ts.map