import React from "react"; import type { FileItem } from "../../../../domain/types.js"; export interface FileProps { file: FileItem; selected: boolean; fileBody?: JSX.Element; onSelect?: (event?: React.MouseEvent) => void; onClick?: (event?: React.MouseEvent) => void; multiple?: boolean; children: React.ReactNode; } export type DefaultFileControlsProps = Pick; export type DefaultFileBodyProps = Pick; export declare const File: (({ file, fileBody, selected, onSelect, children }: FileProps) => React.JSX.Element) & { original: ({ file, fileBody, selected, onSelect, children }: FileProps) => React.JSX.Element; originalName: string; displayName: string; } & { original: (({ file, fileBody, selected, onSelect, children }: FileProps) => React.JSX.Element) & { original: ({ file, fileBody, selected, onSelect, children }: FileProps) => React.JSX.Element; originalName: string; displayName: string; }; originalName: string; displayName: string; } & { createDecorator: (decorator: import("@webiny/app-admin").ComponentDecorator<(({ file, fileBody, selected, onSelect, children }: FileProps) => React.JSX.Element) & { original: ({ file, fileBody, selected, onSelect, children }: FileProps) => React.JSX.Element; originalName: string; displayName: string; }>) => (props: unknown) => React.JSX.Element; };