import { Staff } from './../interface'; import { IPreviewItemFile } from '@beisen-phoenix/file-list'; export declare const insertTextarea: (textarea: HTMLTextAreaElement, insertValue: string) => string; export declare const getCursorPosition: (textarea: any) => { top: any; left: any; width: number; height: any; scrollTop: number; scrollLeft: number; }; export declare const isShowPersonSelectPop: (textarea: any, value: string) => boolean; export declare const getInsertUserValue: (userData: Staff | Staff[]) => string; export declare const getUserStr: (user: Staff) => string; export declare const replaceTextValue: (value: string, num: number) => string; export declare const fileSuccessNum: (fileList: IPreviewItemFile[]) => number; export declare const getMediaType: (fileName: string) => string; export declare const dealFiles: (acceptedFiles: any) => any[]; export declare const isNotNullArray: (arr: any) => boolean; export declare const validFiles: (files: IPreviewItemFile[] | undefined, newFiles: File[] | undefined, maxSize: number, maxFiles: number) => { error: number; newFiles: File[]; };