/**
 * @description menu config
 * @author wangfupeng
 */
import { IUploadConfig } from '@wangeditor/editor';
import { AttachmentElement } from '../custom-types';
import { UppyFile } from '@uppy/core';
declare type InsertFn = (fileName: string, link: string) => void;
export declare type IUploadConfigForAttachment = IUploadConfig & {
    allowedFileTypes?: string[];
    customInsert?: (res: any, file: UppyFile, insertFn: InsertFn) => void;
    customUpload?: (files: File, insertFn: InsertFn) => void;
    customBrowseAndUpload?: (insertFn: InsertFn) => void;
    onInsertedAttachment?: (elem: AttachmentElement) => void;
};
export declare function genUploadAttachmentMenuConfig(): IUploadConfigForAttachment;
export {};
