import type { InteractivePrompts } from "./interactive.js"; import { type AgentImageUploadResult } from "./agent-image-upload.js"; import { createAgent, type AgentDependencies, type CreateAgentInput } from "./agents.js"; import { type AgentImageRecipe } from "@relaymessenger/sdk"; /** * One creation path for every caller. `agents create` and `connect` both make an * agent, save its token privately, and then set its picture from a local file, * so the order, the retry wording and the "do not create another agent" rule * live here once rather than in each command. */ export interface CreateWithPictureInput extends CreateAgentInput { /** A file on this computer, or an https:// address. */ image?: string; imageRecipe?: AgentImageRecipe; cwd?: string; home?: string; } export interface CreateWithPictureResult { result: Awaited>; image?: AgentImageUploadResult; } export declare const createAgentWithPicture: (input: CreateWithPictureInput, deps: AgentDependencies, fetchImplementation?: typeof globalThis.fetch) => Promise; /** The one sentence a caller prints when a picture did not finish. */ export declare const incompletePictureMessage: (handle: string, profile: string, image: AgentImageUploadResult, hasRecipe: boolean) => string; export declare function requireSubtitle(value: string | undefined, options: { prompts?: InteractivePrompts | undefined; nonInteractive?: boolean; }): Promise; //# sourceMappingURL=agent-create.d.ts.map