export declare const isWordContent: (content: string) => boolean;
export declare const isExcelContent: (content: string) => boolean;
/**
 * 处理file本地路径图片转为blob
 * @param {String} content 粘贴板内容
 * @param {event} e
 * @returns String
 */
export declare const convertFileToBlob: (content: any, e: any) => any;
export declare const convertBase64ToBlob: (base64String: string) => Blob;
export declare const uploadBase64Image: (base64String: string) => Promise<string>;
/**
 * 把图片base64转为blob上传
 * @param content
 * @returns
 */
export declare const processBase64Images: (content: string) => Promise<string>;
/**
 * 移除所有width为0且border为none的td
 * @param doc
 */
export declare const removeBorderlessTds: (doc: Document) => void;
/**
 * 设置table所有的最大宽度为100%
 * @param doc
 */
export declare const processTableWidth: (doc: Document) => void;
/**
 * 给所有table添加table-layout: fixed
 * 如果table有负的margin，就去掉该style
 * 如果table没有width属性，添加width: 100%
 * @param doc
 */
export declare const processTableLayout: (doc: Document) => void;
/**
 * td的宽度按照table的宽度tr的宽度设置为百分比
 * @param doc
 */
export declare const processTdWidth: (doc: Document) => void;
/**
 * 处理table的边框
 * @param doc
 */
export declare const processTableBorder: (doc: Document) => void;
/**
 * 处理合并单元格的边框
 * @param doc
 */
export declare const processMergedTableBorder: (doc: Document) => void;
/**
 * 删除mso开头的style
 * @param doc
 */
export declare const processRemovMsoStyle: (doc: Document) => void;
/**
 * 删除tab-stops style
 * @param doc
 */
export declare const processRemovTabStopsStyle: (doc: Document) => void;
/**
 * 预处理Word内容
 * @param content HTML内容
 * @returns 处理后的HTML内容
 */
export declare const preProcess: (content: string) => string;
export declare const getDocSize: (content: string) => string;
