import React, { Component } from 'react'; import { type ZipEntry } from 'unzipit'; import type { MediaClient } from '@atlaskit/media-client/media-client'; import type { FileState } from '@atlaskit/media-state/file-state'; import { ArchiveViewerError } from '../../ArchiveViewerError'; export interface ArchiveSidebarRendererProps { selectedFileState: FileState; mediaClient: MediaClient; onSelectedArchiveEntryChange: (archiveEntry: ZipEntry) => void; onHeaderClicked: () => void; isArchiveEntryLoading: boolean; collectionName?: string; onError: (error: ArchiveViewerError, entry?: ZipEntry) => void; onSuccess: () => void; } interface ArchiveSidebarRendererState { entries: { [key: string]: ZipEntry; }; status: 'loading' | 'loaded'; } export default class ArchiveSidebarRenderer extends Component { state: ArchiveSidebarRendererState; componentDidMount(): Promise; render(): React.JSX.Element; } export {};