import { ObjectId } from './objectid'; export interface IDocument { _id: ObjectId; toJSON?(options?: any): any; toObject?(options?: any): any; save(): Promise; } /** * Document base class for mongoose compatibility. * Can be extended by user classes or used for instanceof checks. * This is primarily for mocking/compatibility - actual documents * are plain objects with methods attached by the Model. */ export declare class Document implements IDocument { _id: ObjectId; toJSON(_options?: any): any; toObject(_options?: any): any; save(): Promise; } export type { IDocument as DocumentInterface }; //# sourceMappingURL=document.d.ts.map