import { Coordinate } from "../coordinate"; import { AuthorWithProperties } from "../author"; import { MediaObject, MediaTypes } from "./media"; export declare type OutgoingBase = { coordinate: Coordinate; text?: string; type: "message"; author: AuthorWithProperties; processSynchronously?: boolean; }; export declare type OutgoingList = OutgoingBase & { list: unknown; }; export declare type OutgoingPayload = OutgoingBase & { payload: string; }; export declare type OutgoingMedia = OutgoingBase & { "media": [ MediaObject ]; }; export declare type OutgoingRichContent = OutgoingBase & { "mediaType": MediaTypes; "url": string; "title": string; "mediaUrl": string; "mimeType": string; }; export declare type Outgoing = OutgoingMedia | OutgoingRichContent | OutgoingPayload;