import { type ArchivePatch } from './store/index.js';
/**
 * Patch a settled run's archived record on the data branch (#1601): synced with origin, patched,
 * committed, pushed — the same funnel every other data write goes through (#1582).
 *
 * A patch written straight into the data checkout is not a fact yet: the next sync's rebase
 * refuses a dirty tree and the funnel hard-resets it, so the patch is gone within a minute and
 * no other machine ever saw it. Seen live on the cloud-work adoption before it went through here.
 *
 * True when the record now carries the patch, committed; a push that could not go out rides the
 * next cycle, which is the funnel's owed-push rule. False when the run has no archive to patch.
 */
export declare function patchArchivedAgentOnDataBranch(cwd: string, agentId: string, patch: ArchivePatch, message: string): Promise<boolean>;
//# sourceMappingURL=archived-agent-patch.d.ts.map