import Component from '../../components/details/details.component.js'; import { type EventName } from '@lit/react'; import type { SlShowEvent } from '../../events/events.js'; import type { SlAfterShowEvent } from '../../events/events.js'; import type { SlHideEvent } from '../../events/events.js'; import type { SlAfterHideEvent } from '../../events/events.js'; export type { SlShowEvent } from '../../events/events.js'; export type { SlAfterShowEvent } from '../../events/events.js'; export type { SlHideEvent } from '../../events/events.js'; export type { SlAfterHideEvent } from '../../events/events.js'; /** * @summary Details show a brief summary and expand to show additional content. * @documentation https://shoelace.style/components/details * @status stable * @since 2.0 * * @dependency sl-icon * * @slot - The details' main content. * @slot summary - The details' summary. Alternatively, you can use the `summary` attribute. * @slot expand-icon - Optional expand icon to use instead of the default. Works best with ``. * @slot collapse-icon - Optional collapse icon to use instead of the default. Works best with ``. * * @event sl-show - Emitted when the details opens. * @event sl-after-show - Emitted after the details opens and all animations are complete. * @event sl-hide - Emitted when the details closes. * @event sl-after-hide - Emitted after the details closes and all animations are complete. * * @csspart base - The component's base wrapper. * @csspart header - The header that wraps both the summary and the expand/collapse icon. * @csspart summary - The container that wraps the summary. * @csspart summary-icon - The container that wraps the expand/collapse icons. * @csspart content - The details content. * * @animation details.show - The animation to use when showing details. You can use `height: auto` with this animation. * @animation details.hide - The animation to use when hiding details. You can use `height: auto` with this animation. */ declare const reactWrapper: import("@lit/react").ReactWebComponent; onSlAfterShow: EventName; onSlHide: EventName; onSlAfterHide: EventName; }>; export default reactWrapper;