import { SanitizeStrategy } from '../core/sanitize-strategy';
/**
 * Strategy that always returns empty output.
 */
export class EmptySanitizeStrategy extends SanitizeStrategy {
  constructor() {
    super(...arguments);
    this.allowedTags = new Set();
    this.preserveTextContent = false;
  }
  /**
   * @returns {Nullable<Node>} - Sanitized node
   */
  execute() {
    return null;
  }
}
