import type { State, Uppy, UppyFile } from '@uppy/core'; import type { Body, I18n, Meta } from '@uppy/core/utils'; import type { ComponentChildren } from 'preact'; declare const uploadStates: { readonly STATE_ERROR: "error"; readonly STATE_WAITING: "waiting"; readonly STATE_PREPROCESSING: "preprocessing"; readonly STATE_UPLOADING: "uploading"; readonly STATE_POSTPROCESSING: "postprocessing"; readonly STATE_COMPLETE: "complete"; readonly STATE_PAUSED: "paused"; }; export type UploadState = (typeof uploadStates)[keyof typeof uploadStates]; interface UploadStatusProps { files: State['files']; i18n: I18n; isAllComplete: boolean; isAllErrored?: boolean | undefined; isAllPaused: boolean; inProgressNotPausedFiles: UppyFile[]; newFiles: UppyFile[]; processingFiles: UppyFile[]; } interface PanelTopBarProps extends UploadStatusProps { allowNewUpload: boolean; i18n: I18n; hideCancelButton: boolean; maxNumberOfFiles: number | null; totalFileCount: number; toggleAddFilesPanel: (enabled: boolean) => void; uppy: Uppy; } declare function PanelTopBar(props: PanelTopBarProps): ComponentChildren; export default PanelTopBar; //# sourceMappingURL=PickerPanelTopBar.d.ts.map