import type Uppy from '@uppy/core'; import type { Body, State } from '@uppy/core'; import type { I18n, Meta, Translator, UppyFile, UppyFileId } from '@uppy/core/utils'; import type { ComponentChildren, MouseEventHandler } from 'preact'; import type { TargetWithRender } from '../Dashboard.js'; declare module '@uppy/core' { interface UppyEventMap { 'file-editor:cancel': (file: UppyFile) => void; } } type EditorPanelProps = { className?: string | undefined; closeFileEditor: () => void; editors: TargetWithRender[]; fileCardFor: UppyFileId | null; files: State['files']; i18n: I18n; i18nArray: Translator['translateArray']; saveFileEditor: MouseEventHandler; state: State; uppy: Uppy; }; declare function EditorPanel(props: EditorPanelProps): ComponentChildren; export default EditorPanel; //# sourceMappingURL=EditorPanel.d.ts.map