import type Relay from "@relaymessenger/sdk"; import type { SetContactCardResponse } from "@relaymessenger/sdk"; import type { LocalAgentImage } from "./local-image.js"; export type AgentImageUploadPhase = "agent" | "prepare" | "upload" | "check" | "save"; export type AgentImageUploadResult = { status: "updated"; attachment_id: string; agent: SetContactCardResponse; } | { status: "incomplete"; phase: AgentImageUploadPhase; attachment_id?: string; message: string; }; /** Uses only the signed-in file-upload calls that already exist. The caller passes * in the call that saves the picture on the agent; no route is rebuilt here. * A step whose outcome is unknown is never repeated on its own. */ export declare function uploadAgentImage(input: { handle: string; image?: LocalAgentImage; attachmentID?: string; }, client: Pick, promote: (attachmentID: string) => Promise): Promise; //# sourceMappingURL=agent-image-upload.d.ts.map