You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
594 B

4 months ago
/**
* base64
* @param width - width
* @param height - height
* @param text -
* @param style -
* @returns base64
*/
export declare function getTextWatermark(width: number, height: number, text: string, style: any): Promise<string>;
/**
* Get the image base64 of the watermark.
* @param width - width
* @param height - height
* @param imageURL - image URL
* @param style -
* @returns base64
*/
export declare function getImageWatermark(width: number, height: number, imageURL: string, style: any): Promise<unknown>;