import type { UmbImagingResizeModel } from './types.js'; import type { UmbMediaUrlModel } from '../media/index.js'; import type { UmbControllerHost } from '../../../libs/controller-api/index.js'; /** * A data source for the Imaging Service that resizes a media item from the server * @class UmbImagingServerDataSource */ export declare class UmbImagingServerDataSource { #private; /** * Creates an instance of UmbImagingServerDataSource. * @param {UmbControllerHost} host - The controller host for this controller to be appended to * @memberof UmbImagingServerDataSource */ constructor(host: UmbControllerHost); /** * Fetches the URL for the given media items as resized images * @param {Array} uniques The unique identifiers of the media items. * @param {UmbImagingResizeModel} [imagingModel] The resizing options to apply. * @memberof UmbImagingServerDataSource */ getItems(uniques: Array, imagingModel?: UmbImagingResizeModel): Promise<{ data: UmbMediaUrlModel[]; error?: undefined; } | { error: import("../../core/resources/index.js").UmbError | import("../../core/resources/index.js").UmbCancelError | import("../../core/resources/index.js").UmbApiError | undefined; data?: undefined; }>; }