@discord-user-card/core
Version:
The core behind the Discord User Card project.
21 lines • 551 B
TypeScript
import type { DiscordImageScope, DiscordUserCardImage } from "../types/generic.js";
export declare function imageToUrl({ image, scope, animation, relatedId, }: {
/**
* The scope of the image
*/
scope: DiscordImageScope;
/**
* The image object
*/
image: DiscordUserCardImage;
/**
* The related ID to the image
*/
relatedId?: string;
/**
* Whether the image should be animated or not
* @default true
*/
animation?: boolean;
}): string;
//# sourceMappingURL=imageToUrl.d.ts.map