import { Model, ModelStatic, Sequelize } from "sequelize";

export interface SequelizeModel extends Model {
  initialize: (sequelize: Sequelize) => void;
  associate?: (models: { [key: string]: ModelStatic<Model> }) => void;
}

export type ModuleParams = {
  [key: string]: any;
};

//export type ModelInitializer = typeof SequelizeModel;

export interface ModuleDependencies {
  models?: any[];
  services?: { [key: string]: any };
}
