UNPKG

matrix-react-sdk

Version:
20 lines (19 loc) 619 B
export declare enum ExportFormat { Html = "Html", PlainText = "PlainText", Json = "Json" } export type ExportFormatKey = "Html" | "PlainText" | "Json"; export declare enum ExportType { Timeline = "Timeline", Beginning = "Beginning", LastNMessages = "LastNMessages" } export type ExportTypeKey = "Timeline" | "Beginning" | "LastNMessages"; export declare const textForFormat: (format: ExportFormat) => string; export declare const textForType: (type: ExportType) => string; export interface IExportOptions { numberOfMessages?: number; attachmentsIncluded: boolean; maxSize: number; }