/** * Parses a string to see if it is already HTML otherwise it assumes * is a selector and parses it to HTML * * @param htmlOrSelector - The string to parse * @returns The HTML string * * @example * * ```ts * // String is already HTML so it is returned as is * ensureHTML('
'); * * // String is a selector, to is is parsed before it is returned * ensureHTML('.my-div'); * // ->
* ``` */ export default function ensureHTML(htmlOrSelector: string): string;