/**
* @file
*
* Mock of Obsidian's `HTMLValue`, the Bases value wrapping raw HTML.
*/
import type { HTMLValue as HTMLValueOriginal } from 'obsidian';
import type { RenderContext } from './RenderContext.cjs';
import { StringValue } from './StringValue.cjs';
/**
* Mock of Obsidian's `HTMLValue`: a string value whose string is raw HTML.
*/
export declare class HTMLValue extends StringValue {
/**
* The value type's identifier, `'HTML'` - Obsidian's own name for this class of value.
*/
static type: string;
/**
* The lucide icon name standing for this value's type.
*/
icon: string;
/**
* Creates an HTML value.
*
* @param value - The raw HTML string.
*/
constructor(value?: string);
/**
* Mock-only factory: creates an HTML value, spyable via `vi.spyOn(HTMLValue, 'create2__')`. The subclass variant
* of {@link StringValue.create__}.
*
* @param value - The raw HTML string.
* @returns The new HTML value.
*/
static create2__(value?: string): HTMLValue;
/**
* Mock-only: views a value typed as Obsidian's `HTMLValue` as this mock.
*
* @param value - The value typed as the original `HTMLValue`.
* @returns The same object, typed as the mock.
*/
static fromOriginalType5__(value: HTMLValueOriginal): HTMLValue;
/**
* Mock-only: views this mock as Obsidian's `HTMLValue` type.
*
* @returns The same object, typed as the original `HTMLValue`.
*/
asOriginalType5__(): HTMLValueOriginal;
/**
* Mock-only construction hook, called at the end of the constructor; a no-op meant for
* `vi.spyOn(HTMLValue.prototype, 'constructor5__')`.
*
* @param _value - The HTML string the value was created with.
*/
constructor5__(_value: string): void;
/**
* Renders the raw HTML into an element, as Obsidian does: the string is SANITIZED first and the result
* appended, then every media source under the element is rewritten to load from the vault.
*
* Both halves are Obsidian's. The sanitizer is the same one behind `sanitizeHTMLToDom`, so a `