import type { Class } from 'type-fest'; import type { Model, ModelStatic } from '../model'; import type { Sequelize } from '../sequelize'; import type { Association } from './base'; export * from './base'; export * from './belongs-to'; export * from './has-one'; export * from './has-many'; export * from './belongs-to-many'; export interface BeforeAssociateEventData { source: ModelStatic; target: ModelStatic; sequelize: Sequelize; type: Class; } export interface AfterAssociateEventData extends BeforeAssociateEventData { association: Association; }