import "reflect-metadata"; import { CollectionCreateOptions } from "mongodb"; import { IDocumentOptions, IFieldOptions } from "./MongoSchema"; import { ObjectType } from "./Types"; export declare function Model(name: string, options?: IDocumentOptions, createOptions?: CollectionCreateOptions): (target: any) => void; export declare function Schema(inherits?: any[]): (target: any) => void; export declare function Field(fieldOptions?: IFieldOptions): (target: any, key: string) => void; export declare function FieldReference(typeFunction: (type?: any) => ObjectType, fieldOptions?: IFieldOptions): Function; export declare function Hook(hookName: string): (target: any, key: string) => void;