export declare function toJSON<T = any>(doc: T): T;
export declare function toJSON<T = any>(doc: T[]): T[];
