nexus-react-core
Version:
A comprehensive React toolkit with services, hooks, and Redux store management
14 lines • 556 B
TypeScript
/**
* Saves an image from a URL to the server
* This is particularly useful for DALL-E generated images which expire after 24 hours
* @param imageUrl The URL of the image to save
* @returns The URL of the saved image on the server
*/
export declare function saveImageFromUrl(imageUrl: string): Promise<string>;
/**
* Converts a base64 image to a Blob
* @param base64 The base64 string of the image
* @returns A Blob containing the image data
*/
export declare function base64ToBlob(base64: string): Blob;
//# sourceMappingURL=imageService.d.ts.map