import type { Body, Meta, State } from '@uppy/core'; import type { I18n, Translator, UppyFile } from '@uppy/core/utils'; import type { ComponentChildren } from 'preact'; import type { DashboardState } from '../../Dashboard.js'; interface FileCardProps { canEditFile: (file: UppyFile) => boolean; className?: string | undefined; fileCardFor: string; files: State['files']; i18n: I18n; i18nArray: Translator['translateArray']; metaFields: DashboardState['metaFields']; openFileEditor: (file: UppyFile) => void; requiredMetaFields: string[]; saveFileCard: (meta: M, fileID: string) => void; toggleFileCard: (show: boolean, fileID: string) => void; } export default function FileCard(props: FileCardProps): ComponentChildren; export {}; //# sourceMappingURL=index.d.ts.map