import { LitElement } from 'lit'; import type { Constructor } from '../common/mixins/constructor.js'; import type { ExpansionPanelIndicatorPosition } from '../types.js'; export interface IgcExpansionPanelComponentEventMap { igcOpening: CustomEvent; igcOpened: CustomEvent; igcClosing: CustomEvent; igcClosed: CustomEvent; } declare const IgcExpansionPanelComponent_base: Constructor> & Constructor; /** * The Expansion Panel Component provides a way to display information in a toggleable way - * compact summary view containing title and description and expanded detail view containing * additional content to the summary header. * * @element igc-expansion-panel * * @slot - renders the default content of the panel * @slot title - renders the title of the panel's header * @slot subtitle - renders the subtitle of the panel's header * @slot indicator - renders the expand/collapsed indicator * @slot indicator-expanded - renders the expanded state of the indicator * * @fires igcOpening - Emitted before opening the expansion panel. * @fires igcOpened - Emitted after the expansion panel is opened. * @fires igcClosing - Emitted before closing the expansion panel. * @fires igcClosed - Emitted after the expansion panel is closed. * * @csspart header - The container of the expansion indicator, title and subtitle. * @csspart title - The title container. * @csspart subtitle - The subtitle container. * @csspart indicator - The indicator container. * @csspart content - The expansion panel's content wrapper. */ export default class IgcExpansionPanelComponent extends IgcExpansionPanelComponent_base { static readonly tagName = "igc-expansion-panel"; static styles: import("lit").CSSResult[]; static register(): void; private _panelId; private readonly _headerRef; private readonly _panelRef; private readonly _player; private readonly _slots; /** * Indicates whether the contents of the control should be visible. * @attr */ open: boolean; /** * Get/Set whether the expansion panel is disabled. Disabled panels are ignored for user interactions. * @attr */ disabled: boolean; /** * The indicator position of the expansion panel. * @attr indicator-position */ indicatorPosition: ExpansionPanelIndicatorPosition; constructor(); /** @internal */ connectedCallback(): void; private _handleClick; private _setOpenState; private _toggle; private _show; private _hide; /** Toggles the panel open/close state. */ toggle(): Promise; /** Hides the panel content. */ hide(): Promise; /** Shows the panel content. */ show(): Promise; private _renderIndicator; private _renderHeader; private _renderPanel; protected render(): import("lit-html").TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { 'igc-expansion-panel': IgcExpansionPanelComponent; } } export {};