# `@gradio/utils`

General functions for handling events in Gradio Svelte components


```javascript
export async function uploadToHuggingFace(
		data: string,
		type: "base64" | "url"
	): Promise<string>

export function copy(node: HTMLDivElement): ActionReturn


```