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