export type PresentationStyle = 'compact' | 'expanded'; export interface MessageLayout { caption: string; subcaption?: string; trailingCaption?: string; trailingSubcaption?: string; imageUrl?: string; mediaFileUrl?: string; url?: string; } export interface ConversationInfo { conversationId: string; remoteParticipantIds: string[]; participantCount: number; hasSelectedMessage: boolean; } export interface SelectedMessage { url?: string; caption?: string; subcaption?: string; trailingCaption?: string; trailingSubcaption?: string; } export interface AttachmentPayload { /** Alternate filename shown in Messages. */ filename?: string; /** UTF-8 text written to a temp file and inserted. */ contents?: string; } export declare class Messages { getPresentationStyle(): PresentationStyle | null; requestPresentationStyle(style: PresentationStyle): void; sendMessage(layout: MessageLayout): void; sendUpdate(layout: MessageLayout, sessionId: string): void; createSession(): string | null; insertAttachment(payload?: AttachmentPayload): Promise; getConversationInfo(): ConversationInfo | null; addEventListener(eventName: 'onPresentationStyleChange', listener: (style: PresentationStyle) => void): any; } export declare const getPresentationStyle: () => PresentationStyle | null; export declare const requestPresentationStyle: (style: PresentationStyle) => void; export declare const sendMessage: (layout: MessageLayout) => void; export declare const sendUpdate: (layout: MessageLayout, sessionId: string) => void; export declare const createSession: () => string | null; export declare const insertAttachment: (payload?: AttachmentPayload) => Promise; export declare const getConversationInfo: () => ConversationInfo | null; export declare const addEventListener: (eventName: 'onPresentationStyleChange', listener: (style: PresentationStyle) => void) => any; //# sourceMappingURL=index.d.ts.map