/// import * as mongoose from 'mongoose'; import * as tg from '../../typegoose'; import { Car } from './car'; export declare abstract class PersistentModel extends tg.Typegoose { createdAt: Date; cars?: tg.Ref[]; getClassName(): string; static getStaticName(): string; addCar(this: tg.InstanceType, car: Car): Promise>; } export declare class Person extends PersistentModel { email: string; getClassName(): string; static getStaticName(): string; } export declare const model: mongoose.Model> & Person & typeof Person;