// Type declarations for modules without TypeScript support

declare module '@lottiefiles/dotlottie-vue' {
  import type { DefineComponent } from 'vue'

  export const DotLottieVue: DefineComponent<{
    src?: string
    autoplay?: boolean
    loop?: boolean
    class?: string
    style?: Record<string, string | number>
  }>
}

declare module 'vue-chartjs' {
  import type { DefineComponent } from 'vue'

  export const Line: DefineComponent
  export const Bar: DefineComponent
  export const Pie: DefineComponent
  export const Doughnut: DefineComponent
}

declare module 'chart.js' {
  export const CategoryScale: unknown
  export const LinearScale: unknown
  export const PointElement: unknown
  export const LineElement: unknown
  export const Title: unknown
  export const Tooltip: unknown
  export const Legend: unknown
  export const Filler: unknown
  export const Chart: {
    register: (...args: unknown[]) => void
  }
  export type ChartData<T = unknown> = T
  export type ChartOptions<T = unknown> = T
}
