import { type ImessageSendParams, type ImessageTypingParams, type ImessageReactParams, type ImessageReadParams, type ImessageAvailabilityParams, type ImessageAvailableResponse } from "../schemas/imessage.js"; import { type ConversationGetParams, type ConversationHistoryParams } from "../schemas/conversations.js"; import type { RequestConfig } from "../utils/request.js"; import type { WebhookEventBase } from "../types/webhooks.js"; export declare class ImessageResource { private readonly config; constructor(config: RequestConfig); /** Reply to an incoming imessage webhook. Prefills to/from from event.data. */ reply(event: WebhookEventBase, params: Omit): Promise<{ message_id: string; } & { metadata: { id: string; timestamp: string; api_version: string; object: string; }; }>; send(params: ImessageSendParams): Promise<{ message_id: string; } & { metadata: { id: string; timestamp: string; api_version: string; object: string; }; }>; typing(params: ImessageTypingParams): Promise & { metadata: { id: string; timestamp: string; api_version: string; object: string; }; }>; get(id: string, params?: ConversationGetParams): Promise & { metadata: { id: string; timestamp: string; api_version: string; object: string; }; }>; history(params: ConversationHistoryParams): Promise & { metadata: { id: string; timestamp: string; api_version: string; object: string; }; }>; react(action: "add" | "remove", params: ImessageReactParams): Promise<{ status: string; message: string; } & { metadata: { id: string; timestamp: string; api_version: string; object: string; }; }>; read(params: ImessageReadParams): Promise & { metadata: { id: string; timestamp: string; api_version: string; object: string; }; }>; availability(params: string | ImessageAvailabilityParams): Promise; } //# sourceMappingURL=imessage.d.ts.map