import { html, nothing, type TemplateResult } from 'lit';
import { property, query, state } from 'lit/decorators.js';
import { classMap } from 'lit/directives/class-map.js';
import { BootstrapElement, defineElement, type Size } from '@bootstrap-wc/core';
export interface SelectOption {
value: string;
label: string;
disabled?: boolean;
selected?: boolean;
}
type SlottedOption = {
kind: 'option';
value: string;
label: string;
disabled: boolean;
selected: boolean;
};
type SlottedGroup = {
kind: 'group';
label: string;
disabled: boolean;
children: SlottedOption[];
};
type SlottedHr = { kind: 'hr' };
type SlottedNode = SlottedOption | SlottedGroup | SlottedHr;
/**
* `` — Bootstrap `.form-select`. Renders the native `