declare function requiredWithoutAllRule(data: any, params: any): boolean; declare namespace requiredWithoutAllRule { var getErrorMessage: (attribute_name: string, params: any) => string; } export default requiredWithoutAllRule;