// Contiene tipos comunes entre cliente y servidor

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

type ModelInitializer = (sequelize: Sequelize) => ModelStatic<Model<any, any>>;

export interface PackageMetadata {
  name: string;
  version: string;
  description?: string;
  dependencies?: string[];
}

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