import React from 'react'; import { type ZipEntry } from 'unzipit'; import type { MediaClient } from '@atlaskit/media-client/media-client'; import type { ArchiveViewerError } from '../../ArchiveViewerError'; import { type ArchiveSidebarFolderProps } from './archive-sidebar-folder-entry'; export interface ArchiveSidebarProps { entries: { [key: string]: ZipEntry; }; onEntrySelected: (selectedEntry: ZipEntry) => void; mediaClient: MediaClient; onHeaderClicked: () => void; isArchiveEntryLoading: boolean; onError: (error: ArchiveViewerError, entry?: ZipEntry) => void; shouldRenderAbuseModal: boolean; fileId?: string; } export type ArchiveSidebarState = { currentArchiveSidebarFolder: ArchiveSidebarFolderProps; selectedEntryName?: string; }; export declare const ArchiveSidebar: React.ForwardRefExoticComponent>;