/** * @file * @license @lucide/svelte v1.47.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */ import type { SVGAttributes } from 'svelte/elements'; import type { Snippet, Component } from 'svelte'; import type { LucideIconData as SharedLucideIconData, LucideIconNode as SharedLucideIconNode } from '@lucide/shared/types'; export type Attrs = Record & SVGAttributes; type IconNodeElements = 'circle' | 'ellipse' | 'g' | 'line' | 'path' | 'polygon' | 'polyline' | 'rect'; export type LucideIconNode = SharedLucideIconNode; export type LucideIconData = SharedLucideIconData; /** * @deprecated Use LucideIconNode instead. */ export type IconNode = LucideIconNode[]; export type LucideProps = Attrs & { color?: string; size?: number | string; strokeWidth?: number | string; /** * @deprecated Use `nonScalingStroke` instead. */ absoluteStrokeWidth?: boolean; nonScalingStroke?: boolean; children?: Snippet; title?: string; }; export type IconProps = LucideProps & ({ icon: LucideIconData; iconNode?: never; } | { icon?: never; iconNode: LucideIconNode[]; }); export type LucideIcon = Component; export type IconEvents = { [evt: string]: CustomEvent; }; export type IconSlots = { default: Record; }; export {};