import { a as IconInput, c as Sampled, o as IconNode } from "./plan-DhaDhEVq.js"; import { r as SpringPreset } from "./spring-BgZHrI2W.js"; import { a as ReducedMotionMode, i as PathEl, n as Morph, r as MorphOptions } from "./index-DpvKR75N.js"; import { SVGProps } from "react"; //#region src/react/index.d.ts /** Imperative surface exposed via ref. */ export interface MorphHandle { morphTo(icon: IconInput, spring?: SpringPreset | MorphOptions): void; set(icon: IconInput): void; } export interface MorphIconProps extends Omit, "from" | "to" | "ref"> { /** Uncontrolled mode: the current icon; changing the prop animates. */ icon?: IconInput; /** Controlled mode: source endpoint of the pair. */ from?: IconInput; /** Controlled mode: target endpoint of the pair. */ to?: IconInput; /** Controlled mode: 0..1 progress of the frozen morph (no spring). */ progress?: number; /** Physics for uncontrolled/imperative mode: preset or custom spring. */ spring?: SpringPreset | MorphOptions; /** Reduced-motion policy: "never" (default) animates regardless of the OS * setting, "user" honors prefers-reduced-motion (morphs degrade to an * instant swap while it is on), "always" always jumps. */ reducedMotion?: ReducedMotionMode; size?: number | string; color?: string; strokeWidth?: number | string; /** Like lucide-react: stroke width does not scale with `size`. */ absoluteStrokeWidth?: boolean; /** Accessibility: with label → role="img" + ; without → aria-hidden. */ label?: string; } export declare const MorphIcon: import("react").ForwardRefExoticComponent<MorphIconProps & import("react").RefAttributes<MorphHandle>>; //#endregion export type { IconInput, IconNode, Morph, MorphOptions, PathEl, ReducedMotionMode, Sampled, SpringPreset };