import type Uppy from '@uppy/core'; import type { Body, Meta, State, UppyFile } from '@uppy/core'; import type { I18n } from '@uppy/utils'; import { Component, type ComponentChild } from 'preact'; import type { DashboardState } from '../../Dashboard.js'; type Props = { file: UppyFile; handleRequestThumbnail: (file: UppyFile) => void; handleCancelThumbnail: (file: UppyFile) => void; individualCancellation: boolean; showRemoveButtonAfterComplete: boolean; recoveredState: State['recoveredState']; resumableUploads: boolean; i18n: I18n; role: string; showLinkToFileUploadResult: boolean; toggleFileCard: (show: boolean, fileId: string) => void; metaFields: DashboardState['metaFields']; id: string; containerWidth: number; containerHeight: number; toggleAddFilesPanel: (show: boolean) => void; isSingleFile: boolean; hideRetryButton: boolean; hideCancelButton: boolean; hidePauseResumeButton: boolean; canEditFile: (file: UppyFile) => boolean; openFileEditor: (file: UppyFile) => void; uppy: Uppy; }; export default class FileItem extends Component> { componentDidMount(): void; shouldComponentUpdate(nextProps: Props): boolean; componentDidUpdate(): void; componentWillUnmount(): void; render(): ComponentChild; } export {}; //# sourceMappingURL=index.d.ts.map