import { XApiAttachment, XApiStatement } from "./statement"; import { XApiConfig } from "./xapi-interface"; 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 saveAttachments: (config: XApiConfig, supportingMedia: Array, verb?: OLVerbShorthand, thumbnailUrl?: string | undefined) => Promise;