import { type AgentImageBuild } from "./impl/agentImageBuild.js"; import { type DrizzleExecutor } from "../drizzle.js"; import { type MutationHint } from "../chat/types.js"; /** * Atomically claims an eligible agentImages build, assigning a lease while retaining progress and logs from an abandoned attempt. * A live competing lease returns retryAt while leaving agentImages unchanged, so restart recovery can requeue the same observable job exactly when it becomes claimable. */ export declare function agentImageTakeBuild(executor: DrizzleExecutor, imageId: string, workerId: string): Promise<{ build: AgentImageBuild; hint: MutationHint; } | { retryAt: string; } | undefined>; //# sourceMappingURL=agentImageTakeBuild.d.ts.map