export namespace supportFile {
    const txt: string;
    const doc: string;
    const docx: string;
    const xls: string;
    const xlsx: string;
    const ppt: string;
    const pdf: string;
    const zip: string;
    const rar: string;
    const mp3: string;
    const acc: string;
    const amr: string;
    const flac: string;
    const wav: string;
    const mp4: string;
    const MP4: string;
    const m4v: string;
    const M4V: string;
    const mov: string;
    const MOV: string;
    const jpg: string;
    const jpeg: string;
    const png: string;
    const bmp: string;
    const webp: string;
    const gif: string;
}
export default FileMessage;
declare class FileMessage extends React.Component<any, any, any> {
    static propType: {
        name: propType.Requireable<string>;
        size: propType.Requireable<number>;
        fileType: propType.Requireable<string>;
        objectId: propType.Requireable<string>;
        isMe: propType.Requireable<boolean>;
    };
    constructor(props: any);
    constructor(props: any, context: any);
    state: {
        path: string;
        error: undefined;
        downloadProgress: number;
        isStart: boolean;
    };
    componentDidMount(): void;
    componentWillUnmount(): void;
    handleDownload: () => void;
    createWoker: (fun: any) => Worker;
    handleProgress: (percent: any) => void;
    previewHandler: () => Promise<void>;
    handleOnDrag: (e: any) => void;
    render(): JSX.Element;
}
import React from "react";
import propType from "prop-types";
