/** The side of the saved square, large enough to stay crisp on a high-density screen. */ export declare const IMAGE_UPLOAD_SIZE = 512; export interface ImageUploadProps { /** The current image; without one the tile shows `name`'s first letter. */ src?: string | undefined; /** What the image stands for, such as a team: it names the controls and gives the letter. */ name: string; /** Saves the cropped square, a PNG `IMAGE_UPLOAD_SIZE` pixels on a side. A rejection * keeps the dialog open with its message. */ onUpload: (image: Blob) => Promise; /** Removes the image; without it there is no Remove item. */ onRemove?: (() => Promise | void) | undefined; disabled?: boolean | undefined; /** The tile's side in CSS pixels. */ size?: number | undefined; className?: string | undefined; } /** An icon a person uploads for something, such as a workspace or a project: a square * tile with a menu to upload, crop and save an image, or remove it. An image can also be * dropped on the tile. */ export declare function ImageUpload({ src, name, onUpload, onRemove, disabled, size, className, }: ImageUploadProps): import("react").JSX.Element;