import { type PropertyValues } from 'lit'; import { UiElement } from '../shared/element.js'; import type { HeadingLevel } from './heading-shared.js'; /** * Carbon `Section` (`cds-section`): each section one heading level deeper than the section it sits in (the page * itself is level 1), so ``s inside get the right `

`…`

` without counting. `level` sets it; a * later change reaches the sections and headings inside (as Carbon React's context). * * @slot - The section's content */ export declare class UiSection extends UiElement { static readonly styles: import("lit").CSSResult; /** The heading level inside, instead of one more than the section around it. */ level?: number; private currentLevel; /** The level its headings use (Carbon `getCurrentLevel`). */ getCurrentLevel(): HeadingLevel; /** Takes its level from `level`, else from the section around it (also called by an ancestor whose level changed). */ syncLevel(): void; connectedCallback(): void; protected updated(changed: PropertyValues): void; render(): import("lit-html").TemplateResult; } declare global { interface HTMLElementTagNameMap { 'ui-section': UiSection; } }