// `$icon/<name>` is a vite alias for unplugin-icons' `~icons/lucide/<name>`
// virtual module (see vite.config.ts). mirror its ambient type here so tsc /
// svelte-check resolve the aliased imports. must stay a global .d.ts (no export)
declare module "$icon/*" {
	import type { Component } from "svelte";
	import type { SvelteHTMLElements } from "svelte/elements";

	const component: Component<SvelteHTMLElements["svg"]>;

	export default component;
}
