import type { RuleModule } from '../../types'; /** * Disallow `new` operators outside of assignments or comparisons. * Prevents using `new` for side effects without storing the result. * * Violations: * - `new MyClass()` (result not used) * * Valid: * - `const instance = new MyClass()` * - `return new MyClass()` */ export declare const noNew: RuleModule;