import { CustomElement } from '../../Abstracts/CustomElement'; import type { ICodeElementProps } from './ICodeElementProps'; declare const CodeElement_base: (abstract new (...args: Array) => import("../../../Behaviors/Themeable").IThemeableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Variantable").IVariantableProps) & typeof CustomElement & import("../../../Behaviors/Themeable").IThemeableCtor; /** * Code - An inline code display element for rendering code snippets and technical text. * * @description * The Code component provides a semantic and styled container for displaying inline code snippets, * variable names, function names, or any technical text that needs monospace font treatment. It renders * content using the HTML `` element with theme-appropriate styling. This element is ideal for * documentation, technical content, inline code references, and syntax highlighting contexts. * * @name Code * @element mosaik-code * @category Primitives * * @cssprop {String} --code-foreground-color - Text color for the code content * * @example * Basic inline code: * ```html *

Use the method to select elements.

* ``` * * @example * Variable reference: * ```html *

The variable stores the user's name.

* ``` * * @example * Dynamic code display: * ```html * * * ``` * * @public */ export declare class CodeElement extends CodeElement_base implements ICodeElementProps { private _text; /** * @public */ constructor(); /** * Returns the `is` property. * The `is` property represents natural name of this element. * * @public * @static * @readonly */ static get is(): string; /** * Gets or sets the `text` property. * * @public * @attr */ get text(): string; set text(value: string); } /** * @public */ export declare namespace CodeElement { type Props = ICodeElementProps; } /** * @public */ declare global { interface HTMLElementTagNameMap { 'mosaik-code': CodeElement; } } export {}; //# sourceMappingURL=CodeElement.d.ts.map