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-font-family - The font family CSS custom property. * @cssprop {String} --code-font-letter-spacing - The font letter spacing CSS custom property. * @cssprop {String} --code-font-line-height - The font line height CSS custom property. * @cssprop {String} --code-font-size - The font size CSS custom property. * @cssprop {String} --code-font-text-decoration - The font text decoration CSS custom property. * @cssprop {String} --code-font-text-transform - The font text transform CSS custom property. * @cssprop {String} --code-font-weight - The font weight CSS custom property. * @cssprop {String} --code-foreground-color - Text color for the code content * @cssprop {String} --code-gap - The gap CSS custom property. * @cssprop {String} --code-padding-bottom - The padding bottom CSS custom property. * @cssprop {String} --code-padding-left - The padding left CSS custom property. * @cssprop {String} --code-padding-right - The padding right CSS custom property. * @cssprop {String} --code-padding-top - The padding top CSS custom property. * @cssprop {String} --code-shadow - The shadow CSS custom property. * @cssprop {String} --code-shadow-blur - The shadow blur CSS custom property. * @cssprop {String} --code-shadow-color - The shadow color CSS custom property. * @cssprop {String} --code-shadow-offset-x - The shadow offset x CSS custom property. * @cssprop {String} --code-shadow-offset-y - The shadow offset y CSS custom property. * @cssprop {String} --code-shadow-spread - The shadow spread CSS custom property. * @cssprop {String} --code-transition-duration - The transition duration CSS custom property. * @cssprop {String} --code-transition-mode - The transition mode CSS custom property. * @cssprop {String} --code-transition-property - The transition property CSS custom property. * @cssprop {String} --code-translate - The translate CSS custom property. * * @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