import { ChatMessageItem, MessageAttachmentType, TFileItem } from '../../store/type';
export declare class MessageMedia {
    item: ChatMessageItem;
    messageMedia: {
        url: string | null;
        type: TFileItem;
    } | null;
    showDialog: {
        open: boolean;
        url?: string;
        type?: MessageAttachmentType;
    };
    hasError: boolean;
    isLoaded: boolean;
    uploadedFileIds: Set<string>;
    private fileSocketJoinedRooms;
    private onFileUpdateMap;
    private fileSocketTimeoutMap;
    private handleOpenDialog;
    private handleCloseDialog;
    private handleError;
    private handleLoad;
    private handleGetMessageMedia;
    private handleGetStickerUrl;
    private handleFileSocketUpload;
    private cleanupFileSocketForId;
    private cleanupFileSocket;
    componentWillLoad(): void;
    disconnectedCallback(): void;
    render(): any;
}
