import { type PropertyValues } from 'lit'; import { Control } from '@nvidia-elements/core/forms'; import { type BracketPairColoring } from '../internal/highlight/syntax.js'; /** * @element nve-code-textarea * @description Enhances a native textarea with syntax highlighting while preserving native editing and form behavior. * @documentation https://nvidia.github.io/elements/docs/code/code-textarea/ * @since 2.4.0 * @entrypoint \@nvidia-elements/code/code-textarea * @slot - Native textarea, label, and control messages. * @slot prefix - Content before the textarea. * @slot suffix - Content after the textarea. * @cssprop --font-family * @cssprop --font-size * @cssprop --height * @cssprop --width * @cssprop --min-height * @cssprop --background * @cssprop --color * @cssprop --padding * @cssprop --border * @cssprop --border-radius * @aria https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea * @stable false * @attribute {'' | 'shared' | 'independent'} bracket-pair-coloring - A bare attribute selects shared depth. Omitting the attribute turns coloring off. */ export declare class CodeTextarea extends Control { #private; static readonly metadata: { tag: string; version: string; }; static styles: import("lit").CSSResult[]; /** Programming language of the native textarea's value. */ language: 'css' | 'go' | 'html' | 'javascript' | 'json' | 'markdown' | 'python' | 'text' | 'tsx' | 'typescript' | 'xml' | 'yaml'; /** Colors bracket pairs by shared or per-type depth. Set to null to disable coloring. */ bracketPairColoring: BracketPairColoring; connectedCallback(): void; disconnectedCallback(): void; /** Refreshes highlighting after a programmatic edit such as setRangeText(). */ refreshHighlighting(): void; updated(changes: PropertyValues): void; /** @private */ protected get prefixContent(): import("lit-html").TemplateResult<1>; /** @private */ protected get suffixContent(): import("lit-html").TemplateResult<1>; }