import { type ViewProps } from '../misc'; import type { InputComponent, InputProps } from './common'; import type { Icon } from '../common'; export declare const MediaSetUI: InputComponent; type Props = InputProps & Omit & { onValueChanged?: (newVal: MediaItem[], xtraInfo: { added?: MediaItem[]; removed?: MediaItem; }) => any; /** Editing options */ editing: "off" | { /** Text shown as prompt for file selection */ prompt?: string; /** Maximum allowaed number of media items */ maxItems?: number; addNewIcon: Icon; trashIcon: Icon; }; }; export type MediaItem = { contentUrl: string; mimeType: ('image/png' | 'image/jpeg' | 'image/gif' | 'image/svg+xml' | 'video/mp4' | 'video/webm' | 'audio/mpeg' | 'audio/ogg' | 'application/octet-stream'); }; export {};