@crypto-dev/pasar-sdk-development
Version:
PasarProtocol NFT Marketplace SDK
16 lines (15 loc) • 776 B
TypeScript
import { DID as ConnDID } from "@elastosfoundation/elastos-connectivity-sdk-js";
/**
* resize the image.
*
* @param file the image file for resize
* @param maxWidth the max width of resizing image
* @param maxHeight the max height of resizing image
* @param qualtiy the quality of resizing image; default=1
*/
declare const resizeImage: (file: any, maxWidth: any, maxHeight: any, quality?: number) => Promise<unknown>;
declare const requestSigndataOnTokenID: (tokenId: string) => Promise<ConnDID.SignedData>;
declare const StringIsNumber: (value: any) => boolean;
declare const isNativeToken: (address: string) => boolean;
declare const checkParams: (param: any) => boolean;
export { resizeImage, requestSigndataOnTokenID, StringIsNumber, isNativeToken, checkParams };