import type { Agent, Transfer, InboxTransfer, DownloadResponse, CreateTransferResponse } from "./types"; export declare class AgentDropApiError extends Error { code?: string; status?: number; constructor(message: string, code?: string, status?: number); } export interface ApiClientOptions { apiKey: string; agentId: string; apiBase?: string; } export declare class ApiClient { private apiKey; private agentId; private apiBase; constructor(options: ApiClientOptions); private headers; private request; /** GET /v1/agents — list agents on the account. */ getAgents(): Promise; /** GET /v1/agents/:uuid/inbox — list incoming transfers for an agent. */ getInbox(agentUuid: string, opts?: { status?: string; limit?: number; }): Promise<{ transfers: InboxTransfer[]; total: number; }>; /** GET /v1/transfers/:id — get transfer details. */ getTransfer(transferId: string): Promise; /** GET /v1/transfers/:id/download — get presigned download URLs. */ downloadTransfer(transferId: string): Promise; /** * POST /v1/transfers — create a transfer with files. * Uses multipart/form-data built with native FormData. */ createTransfer(data: { recipient: string; files: Array<{ name: string; buffer: Buffer; mimeType?: string; }>; message?: string; expiresIn?: string; }): Promise; /** Get the agent_id this client was configured with. */ getAgentId(): string; }