/** * Copyright Aquera Inc 2023 * * This source code is licensed under the BSD-3-Clause license found in the * LICENSE file in the root directory of this source tree. */ import NileElement from '../internal/nile-element'; import type { CSSResultGroup } from 'lit'; /** * Groups related commands under an optional heading inside a `nile-command-menu`. * * @tag nile-command-menu-group * * @summary A labelled section of command items within a command menu. * @status stable * @since 2.0 * * @slot - The group's command items (`nile-command-menu-item`). * @slot heading - The group heading. Takes precedence over the `heading` attribute when provided. * * @csspart base - The component's base wrapper. * @csspart heading - The group heading. * @csspart items - The wrapper around the slotted items. */ export declare class NileCommandMenuGroup extends NileElement { static styles: CSSResultGroup; private readonly hasSlotController; /** The text heading shown above the group's items. Use the `heading` slot for richer content. */ heading: string; connectedCallback(): void; render(): import("lit-html").TemplateResult<1>; } export default NileCommandMenuGroup; declare global { interface HTMLElementTagNameMap { 'nile-command-menu-group': NileCommandMenuGroup; } }