import { type PropertyValues } from 'lit'; import type { ActionSetSize } from '../../core/action-set.js'; import { UiElement } from '../shared/element.js'; /** * Carbon for IBM Products `ActionSet` (`c4p-action-set`): the action buttons at the foot of a side panel or tearsheet — * 64px expressive buttons with their text at the top (48px `condensed`), separated by 1px lines, laid out by `size` * (the panel's) and how many there are: a lone button fills a medium set and takes half a large one; two take half * each; three or four a quarter (232px at most) in large sets; a ghost takes what the others leave; small sets, and * medium ones with three, stack them (primary on top). Put ``s inside in Carbon's order — ghost, tertiary, * secondary, danger, primary — and a stack shows it reversed. * * @slot - The buttons * @csspart base - The row of buttons * @cssprop --ui-actions-gap / --ui-actions-padding - Gap between the action buttons and padding round them (default none: full-bleed buttons that touch; Kanok: 8px / 16px 20px) * @cssprop --ui-actions-button-flex - `flex` of each action button (default: Carbon's widths by count; Kanok: their own width) * @cssprop --ui-actions-button-align / --ui-actions-button-padding-top - Where a button's label sits (default: at the top, 16px in) * @cssprop --ui-actions-stacked-direction / --ui-actions-stacked-wrap / --ui-actions-stacked-width - Where Carbon stacks the actions (narrow): `flex-direction`, `flex-wrap` and each button's width (default column-reverse, nowrap, 100%; Kanok: one row that wraps) */ export declare class UiActionSet extends UiElement { static readonly styles: import("lit").CSSResult[]; /** The set's size (a side panel's size; xs counts as sm): how the buttons share the row, or stack. */ size: ActionSetSize; /** 48px buttons instead of 64px (Carbon `condensedActions` of a side panel). */ condensed: boolean; /** Keep the buttons in a row even where Carbon would stack them. */ disableStacking: boolean; /** Whether the buttons stack, one per row. */ get stacked(): boolean; private readonly set?; private readonly slotEl?; protected updated(changed: PropertyValues): void; private layout; render(): import("lit-html").TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { 'ui-action-set': UiActionSet; } }