import { XApiConfig } from "../xapi/config"; import { XApiAttachment, XApiStatement } from "../xapi/statement"; export declare type OLVerbShorthand = "published" | "attached"; export interface SupportingMedia { contentType: string; fileUrl: string; display: string | Record; description: string | Record; } export declare const convertMediaToAttachment: ({ contentType, fileUrl, display, description, }: SupportingMedia) => XApiAttachment; export declare const buildStatement: (config: XApiConfig, attachments: Array, verb: OLVerbShorthand) => XApiStatement; export declare const sendAttachments: (config: XApiConfig, supportingMedia: Array, verb?: OLVerbShorthand, thumbnailUrl?: string | undefined) => Promise;