import BaseRegistry from './BaseRegistry'; /** * Image Registry */ declare class ImageRegistry extends BaseRegistry { static create(): ImageRegistry; static readonly VALID_MEDIA_TYPES: string[]; /** * check if the the media type from the dataURI belongs to the supported types * @param {DataURI} dataURI * @returns {Boolean} */ isValidMediaType(dataURI: any, validMediaType?: string[]): boolean; /** * upload image if the image format is supported * @param {DataURI} dataURI * @param {Object} metaData * @param {String} providerType e.g. 'kvstore', or 'sui' * @returns {String} id e.g. 'kvstore://image123' */ upload(dataURI: any, metaData: any, providerType: any, validMediaType?: string[]): Promise; } export default ImageRegistry;