import Component from '../../components/details/details.component.js'; import { type EventName } from '@lit/react'; import type { CwShowEvent } from '../../events/events.js'; import type { CwAfterShowEvent } from '../../events/events.js'; import type { CwHideEvent } from '../../events/events.js'; import type { CwAfterHideEvent } from '../../events/events.js'; export type { CwShowEvent } from '../../events/events.js'; export type { CwAfterShowEvent } from '../../events/events.js'; export type { CwHideEvent } from '../../events/events.js'; export type { CwAfterHideEvent } from '../../events/events.js'; /** * @summary Details show a brief summary and expand to show additional content. * @documentation https://cw-elements-b0c7e5.gitlab.io/components/details * @status stable * @since 1.0 * * @dependency cw-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 cw-show - Emitted when the details opens. * @event cw-after-show - Emitted after the details opens and all animations are complete. * @event cw-hide - Emitted when the details closes. * @event cw-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; onCwAfterShow: EventName; onCwHide: EventName; onCwAfterHide: EventName; }>; export default reactWrapper;