import { ComponentPropsWithRef } from "react"; import { IWebApp } from "edifice-ts-client"; export interface ImagePickerWorkspaceProps extends ComponentPropsWithRef<"input"> { /** * Accessible description of the add button */ addButtonLabel: string; /** * Accessible description of the delete button */ deleteButtonLabel: string; /** * Provide a default image as placeholder */ src?: string; /** * Pathe element select in WorkSpace */ libraryMedia: string; /** * Element select in WorkSpace */ mediaLibraryRef: any; /** * To show the icon of an application */ app?: IWebApp | undefined; appCode?: string; /** * Optional class for styling purpose */ className?: string; /** * Callback when uploading image */ onUploadImage: (file: File | string) => void; /** * Callback when deleting image */ onDeleteImage: () => void; } declare const ImagePickerWorkspace: { ({ addButtonLabel, deleteButtonLabel, src, className, mediaLibraryRef, libraryMedia, app, onUploadImage, onDeleteImage, }: ImagePickerWorkspaceProps): import("react/jsx-runtime").JSX.Element; displayName: string; }; export default ImagePickerWorkspace;