import React from "react"; import { Plugin } from "chart.js"; import { ChartDataPoint } from "../types"; type GalileoChartType = "line" | "bar" | "scatter" | "bubble"; interface GalileoVector { x: number; y: number; } export interface AuraInteractionConfig { /** Enable magnetic effect on data points */ magneticEffect?: boolean; /** Magnetic strength */ magneticStrength?: number; /** Magnetic range in pixels */ magneticRange?: number; /** Enable ripple effect on click */ rippleEffect?: boolean; /** Ripple color */ rippleColor?: string; /** Ripple duration */ rippleDuration?: number; /** Enable hover glow */ hoverGlow?: boolean; /** Glow color */ glowColor?: string; /** Glow intensity */ glowIntensity?: number; /** Enable physics-based animations */ physicsAnimations?: boolean; /** Spring configuration */ springConfig?: { stiffness: number; damping: number; mass: number; }; } /** * @deprecated Renamed to `AuraInteractionConfig` for AuraGlass 3.0.7. */ export type GalileoInteractionConfig = AuraInteractionConfig; export interface ElementAnimationTarget { elementId: string; datasetIndex: number; dataIndex: number; dataPoint: ChartDataPoint; position: GalileoVector; velocity: GalileoVector; target: GalileoVector; isAnimating: boolean; magneticInfluence: number; } export interface AuraPluginContext { elementAnimationTargets: Map; setElementAnimationTargets: React.Dispatch>>; getElementPhysicsOptions: (dataPoint: ChartDataPoint, datasetIndex: number, dataIndex: number) => { stiffness: number; damping: number; mass: number; magneticStrength: number; }; } /** * @deprecated Renamed to `AuraPluginContext` for AuraGlass 3.0.7. */ export type GalileoPluginContext = AuraPluginContext; export declare const AuraElementInteractionPlugin: Plugin; /** * @deprecated Renamed to `AuraElementInteractionPlugin` for AuraGlass 3.0.7. * This alias preserves existing Chart.js integrations that register the legacy * plugin name or configure `plugins.galileoElementInteraction`. */ export declare const GalileoElementInteractionPlugin: Plugin; export default AuraElementInteractionPlugin; //# sourceMappingURL=GalileoElementInteractionPlugin.d.ts.map