import { BootstrapElement } from '@bootstrap-wc/core'; /** * `` — a single accordion panel. Slot `header` for the * collapsed-state label; the default slot is the panel body. * * @fires bs-accordion-item-toggle - `{detail: {open}}` on state change. */ export declare class BsAccordionItem extends BootstrapElement { /** * Bootstrap's accordion radius rules use `:first-of-type` / * `:last-of-type` against the `.accordion-item` div — but our * `.accordion-item` lives inside this component's shadow root, so it's * always the only `.accordion-item` in its scope and every item ends up * matching both pseudo-classes (every corner rounded, every border-top * present → doubled borders, no flush join, no shared corners). * * Override the inside-shadow rules so they're inert, then re-apply the * radius and border-collapse based on the HOST's position via * `:host(:first-child)` / `:host(:last-child)`. The host IS a sibling * of other `` elements inside ``, so * those structural pseudo-classes resolve correctly. */ static styles: import("lit").CSSResult; open: boolean; heading?: string; private _panel; private _uid; private _toggle; updated(changed: Map): void; render(): import("lit-html").TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { 'bs-accordion-item': BsAccordionItem; } } //# sourceMappingURL=accordion-item.d.ts.map