import { FileMessage, MessageAttachmentType } from '../../store/type';
type MediaType = 'image' | 'file';
export declare class ProfileMedia {
    private disposeListener;
    isLoading: boolean;
    files: FileMessage[];
    activeTab: MediaType;
    showDialog: {
        open: boolean;
        url?: string;
        type?: MessageAttachmentType;
    };
    errorUrls: Set<string>;
    loadedUrls: Set<string>;
    private prevSelectedChat;
    componentWillLoad(): Promise<void>;
    disconnectedCallback(): void;
    private handleError;
    private handleLoad;
    private loadFiles;
    private isMediaFile;
    private isDocumentFile;
    private getFilteredFiles;
    private handleTabChange;
    private getFileIcon;
    private handleOpenDialog;
    private handleCloseDialog;
    private handleDownloadFile;
    private renderTabButtons;
    private renderImageGrid;
    private renderFileList;
    render(): any;
}
export {};
