import { Components, JSX } from '@vime/core'; interface VmIconProps { class?: string; style?: string; /** The name of the icon to draw. */ name?: Components.VmIcon["name"]; /** The absolute URL of an SVG file to load. */ src?: Components.VmIcon["src"]; /** An alternative description to use for accessibility. If omitted, the name or src will be used to generate it. */ label?: Components.VmIcon["label"]; /** The name of a registered icon library. */ library?: Components.VmIcon["library"]; /** */ icons?: Components.VmIcon["icons"]; } interface VmIconEvents { /** Emitted when the icon has loaded. */ vmLoad: Parameters[0]; /** Emitted when the icon failed to load. */ vmError: Parameters[0]; } interface VmIconSlots { default: any; } import { SvelteComponent } from "svelte/internal"; declare class Icon extends SvelteComponent { $$prop_def: VmIconProps; $$events_def: VmIconEvents; $$slot_def: VmIconSlots; $on(type: K, callback: (e: VmIconEvents[K]) => any): () => void; $set($$props: Partial): void; constructor(options: any); /** */ get redraw(): Components.VmIcon["redraw"]; get ref(): any; get getWebComponent(): HTMLVmIconElement | undefined; } export default Icon;