import { Conversation } from '../../models/data/Conversation'; import { Inbox } from '../../models/data/Inbox'; import { BrowserFetcherService } from './BrowserFetcherService'; import { BrowserRettiwtConfig } from '../config/BrowserRettiwtConfig'; /** * Browser-compatible direct message service. * Handles interacting with resources related to direct messages. * * @public */ export declare class BrowserDirectMessageService extends BrowserFetcherService { /** * @param config - The browser config object for configuring the Rettiwt instance. */ constructor(config: BrowserRettiwtConfig); /** * Get the full conversation history for a specific conversation. * * @param conversationId - The ID of the conversation. * @param cursor - The cursor for pagination. * @returns The conversation with full message history. */ conversation(conversationId: string, cursor?: string): Promise; /** * Get the inbox with recent conversations. * * @returns The inbox containing conversations. */ inbox(): Promise; /** * Get more conversations from the inbox timeline. * * @param cursor - The cursor for pagination. * @returns The inbox timeline with more conversations. */ inboxTimeline(cursor: string): Promise; }