/**
* 过滤输入框内的富文本,得到纯文本
* * 可过滤所有的HTML标签、特殊符号。对于图片则直接过滤为‘’空字符串
* @param content HTMLElement | ReactNode | string
* @returns 过滤后的纯文本
*/
export declare const getPureTextFromRichText: (content: any) => string;
/**
* div高度变化时自动滚动至底部
* @param className 自动滚动的元素class名称
* @returns
*/
export declare const autoScrollToBottom: (className?: string) => void;
export declare const autoScrollListToBottom: (className?: string) => void;
/**
* 重写浏览器的复制粘贴事件,用于过滤输入框中的富文本得到纯文本
* @param event 'onpaste' 粘贴事件对象
* @param editableInputDom 富文本dom元素
* @returns
*/
export declare const filterTextFromEditableInput: (event: Event, editableInputDom: HTMLElement) => void;
/**防止超出范围 */
export declare const getValidIndex: (index: number, max: number, min: number) => number;
/**
* 展示全屏图片,并且支持图片的手指操作:单指移动位置,双指缩放大小
* @param imageSrc
* @returns
*/
export declare const imageFullScreen: (imageSrc?: string) => void;