import type { Body, Meta, State, UIPluginOptions, Uppy, UppyFile } from '@uppy/core'; import type { I18n, Translator } from '@uppy/utils'; import type { h } from 'preact'; import type { DashboardState, TargetWithRender } from '../Dashboard.js'; type DashboardUIProps = { state: State; isHidden: boolean; files: State['files']; newFiles: UppyFile[]; uploadStartedFiles: UppyFile[]; completeFiles: UppyFile[]; erroredFiles: UppyFile[]; inProgressFiles: UppyFile[]; inProgressNotPausedFiles: UppyFile[]; processingFiles: UppyFile[]; isUploadStarted: boolean; isAllComplete: boolean; isAllPaused: boolean; totalFileCount: number; totalProgress: number; allowNewUpload: boolean; acquirers: TargetWithRender[]; theme: string; disabled: boolean; disableLocalFiles: boolean; direction: UIPluginOptions['direction']; activePickerPanel: DashboardState['activePickerPanel']; showFileEditor: boolean; saveFileEditor: () => void; closeFileEditor: () => void; disableInteractiveElements: (disable: boolean) => void; animateOpenClose: boolean; isClosing: boolean; progressindicators: TargetWithRender[]; editors: TargetWithRender[]; autoProceed: boolean; id: string; closeModal: () => void; handleClickOutside: () => void; handleInputChange: (event: h.JSX.TargetedEvent) => void; handlePaste: (event: ClipboardEvent) => void; inline: boolean; showPanel: (id: string) => void; hideAllPanels: () => void; i18n: I18n; i18nArray: Translator['translateArray']; uppy: Uppy; note: string | null; recoveredState: State['recoveredState']; metaFields: DashboardState['metaFields']; resumableUploads: boolean; individualCancellation: boolean; isMobileDevice?: boolean; fileCardFor: string | null; toggleFileCard: (show: boolean, fileID: string) => void; toggleAddFilesPanel: (show: boolean) => void; showAddFilesPanel: boolean; saveFileCard: (meta: M, fileID: string) => void; openFileEditor: (file: UppyFile) => void; canEditFile: (file: UppyFile) => boolean; width: string | number; height: string | number; showLinkToFileUploadResult: boolean; fileManagerSelectionType: string; proudlyDisplayPoweredByUppy: boolean; hideCancelButton: boolean; hideRetryButton: boolean; hidePauseResumeButton: boolean; showRemoveButtonAfterComplete: boolean; containerWidth: number; containerHeight: number; areInsidesReadyToBeVisible: boolean; parentElement: HTMLElement | null; allowedFileTypes: string[] | null; maxNumberOfFiles: number | null; requiredMetaFields: any; showSelectedFiles: boolean; showNativePhotoCameraButton: boolean; showNativeVideoCameraButton: boolean; nativeCameraFacingMode: 'user' | 'environment' | ''; singleFileFullScreen: boolean; handleRequestThumbnail: (file: UppyFile) => void; handleCancelThumbnail: (file: UppyFile) => void; isDraggingOver: boolean; handleDragOver: (event: DragEvent) => void; handleDragLeave: (event: DragEvent) => void; handleDrop: (event: DragEvent) => void; disableInformer: boolean; disableStatusBar: boolean; hideProgressDetails: boolean; hideUploadButton: boolean; hideProgressAfterFinish: boolean; doneButtonHandler: (() => void) | null; }; export default function Dashboard(props: DashboardUIProps): h.JSX.Element; export {}; //# sourceMappingURL=Dashboard.d.ts.map