import type { ItemGroup } from '../core/itemGroup';

// Fabric typings differ depending on the package version.
// We keep this augmentation intentionally minimal and optional.
declare module 'fabric' {
  // eslint-disable-next-line @typescript-eslint/no-namespace
  export namespace fabric {
    interface Object {
      /** Logical grouping for UX/features (filters, colors scope, etc.) */
      itemGroup?: ItemGroup;
    }
  }
}
