///
import * as mongoose from "mongoose";
export interface IModel extends mongoose.Document {
json?: () => any;
}
export interface IModelGeneratorOptions {
methods?: any;
schema?: any;
statics?: any;
virtual?: IModelVirtual;
}
export interface IModelMethods {
[key: string]: () => any;
}
export interface IModelProps {
}
export interface IModelSchema {
[key: string]: any;
}
export interface IModelStatics {
[key: string]: () => any;
}
export interface IModelVirtual {
get?: any;
set?: any;
}
declare var _default: {
generate: (name: string, opts: IModelGeneratorOptions) => mongoose.Model;
};
export default _default;