/*! * Jodit Editor (https://xdsoft.net/jodit/) * Released under MIT see LICENSE.txt in the project root for license information. * Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net */ /** * Check if a string is html or not * * The pasted text is attacker controlled, so the check walks the string with * `indexOf`: the former regex `<(\w+)[^>]*>(.*?)<\/\1>` was quadratic on a * long run of `` and froze the tab. */ export declare const isHTML: (str: unknown) => str is string;