import { Document, Schema } from "mongoose"; import HookErrorCallback from "../interfaces/HookErrorCallback"; export declare type RequiredWithAllFuncOptions = { /** * Error callback */ errorCb?: HookErrorCallback; }; /** * Project model from mass assignment * @param schema mongoose schem * @param options options */ export default function RequiredWithAll(schema: Schema, options: RequiredWithAllFuncOptions): void;