import { GlobalSlimmers } from '../../vega-slimmer/vega-slimmer-core'; import { VegaSectionTitleRenderer } from './slimmers/renderers/vega-section-title-renderer'; import { IconAlignType } from '../../types/ui.type'; import { TextColorsTokenType } from '../../types/design-token.type'; import { VegaSectionTitleSizeType } from './types'; import { VegaComponentUsageRuntimeMetricsSlimmer } from '../../helpers/slimmers/component-usage-runtime-metrics'; import { A11yTreeSlimmer } from '../../helpers/slimmers/a11y-tree-slimmer'; /** * @vegaVersion 2.1.0 */ export declare class VegaSectionTitle { protected readonly globalSlimmers: GlobalSlimmers; protected readonly renderer: VegaSectionTitleRenderer; protected vegaComponentUsageRuntimeMetricsSlimmer: VegaComponentUsageRuntimeMetricsSlimmer; /** * Projects the component's semantic accessibility intent onto the shadow * DOM via the A11y Tree foundation. Replaces the previous inline `role` / * `aria-label` on the host element so ARIA is authored once, in * `buildSectionTitleA11yTree`, and projected through the browser-engine * strategy layer (no double projection). */ protected readonly a11yTreeSlimmer: A11yTreeSlimmer; host: HTMLVegaSectionTitleElement; /** * Specifies the text content of the title displayed * within the section title. * * @vegaVersion 2.1.0 */ titleText: string; /** * Specifies the text content of the description displayed * within the section title. * * @vegaVersion 2.1.0 */ description: string; /** * Specifies the icon displayed within the section title. * * @vegaVersion 2.1.0 */ icon: string; /** * Specifies the alignment of the icon relative to * the title within the section title. * * @vegaVersion 2.1.0 */ iconAlign: IconAlignType; /** * Specifies the color of the icon displayed * within the section title. * @vegaVersion 2.81.0 */ iconColor: TextColorsTokenType; /** * Specifies the size of the section title. * * @vegaVersion 2.81.0 */ size: VegaSectionTitleSizeType; render(): VegaSectionTitle; }