import { BaseSource } from "../BaseSource.js"; import { FormatQualifier } from "../../format/FormatQualifier.js"; import { IImageSourceModel } from "../../../internal/models/IImageSourceModel.js"; import { IQualifierToJson } from "../../../internal/models/qualifierToJson.js"; import { ITransformationFromJson } from "../../../internal/models/IHasFromJson.js"; /** * @memberOf Qualifiers.Source * @extends {Qualifiers.Source.BaseSource} * @description Defines how to manipulate an image layer *
*
Notice
*
* This class is used as a Qualifier for the asset.overlay() and asset.underlay() methods.
* You can find regular images and videos transformations below: *
* *
*/ declare class ImageSource extends BaseSource { readonly _publicID: string; private _format; constructor(publicID: string); /** * @description * Returns the opening string of the layer, * This method is used internally within {@link SDK.LayerAction|LayerAction} * @returns {string} */ getOpenSourceString(layerType: 'u' | 'l'): string; /** * @description * Apply a format for the image source of the layer * @param {FormatQualifier} format A to apply to the layered image, see more {@link Qualifiers.Format|here} * @returns {this} */ format(format: FormatQualifier): this; toJson(): IQualifierToJson; static fromJson(qualifierModel: IImageSourceModel, transformationFromJson: ITransformationFromJson): ImageSource; } export { ImageSource };