import type { CSSResultGroup } from 'lit'; import { ShoelaceElement } from '../../internal/shoelace-element'; /** * @summary Fieldsets are used to group multiple form controls. * @documentation https://dsa.service-public-autonomie.fr/latest/librairie-webcomponents/fieldset-groupe-de-champs/usage-KO71ggVm * * @slot - The default slot where the form control elements are placed. * @slot legend-title - The fieldset's legend title. Required for proper accessibility. Alternatively, you can use the `legend-title` * attribute. * @slot legend-subtitle - The fieldset's subtitle. Alternatively, you can use the `legend-subtitle` attribute. * @slot tooltip - The tooltip slot allows additional information to be passed along the label */ export default class DSAFieldset extends ShoelaceElement { static styles: CSSResultGroup; private readonly hasSlotController; defaultSlot: HTMLSlotElement; /** * The fieldset's legend title. Required for proper accessibility. If you need to display HTML, use the `legend-title` slot * instead. */ legendTitle: string; /** The fieldset's subtitle. If you need to display HTML, use the `legend-subtitle` slot instead. */ legendSubtitle: string; /** The fieldset's variant. */ variant: 'base' | 'layer'; /** Disables children elements. */ disabled: boolean; /** The fieldset's content orientation. */ horizontal: boolean; /** Increase the border contrast in contexts where is could be hard to identify the fieldset. */ contrastedBorders: boolean; private updateChildrenDisabledState; private handleSlotChange; handleDisabledChange(): void; render(): import("lit").TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { 'dsa-fieldset': DSAFieldset; } }