import { Schema } from 'mongoose'; import { IModel } from './types'; export declare class Model implements IModel { __model: boolean; static Schema: typeof Schema; static Types: typeof Schema.Types; static defaultOptions: { [key: string]: any; }; static options: { [key: string]: any; }; setState(state?: {}): void; getState(key: string, def: any): any; static prepareOne(obj: any, params: any): Promise; static prepare(obj: any | any[], params?: any): Promise; } export default Model;