import { ElementRef } from '@angular/core'; import { PopoverTriggerDirective } from '../../../popover/src/popover-trigger.directive'; import { ListboxComponent } from '../../../listbox/src/listbox.component'; import { FocusMonitor, FocusOrigin } from '@angular/cdk/a11y'; import { SelectComponentBase } from '../common/select-component-base'; import { SelectValueHolder, SingleSelectDirectiveBase } from '../common/select-value-holder'; import { IconRegistry } from '../../../icon/public_api'; import * as i0 from "@angular/core"; /** * NOTE: Support for multiple selection in basic select is removed, based on * a UX decision. See commit message for more details. */ export declare class SelectButtonSingleSelectDirective extends SingleSelectDirectiveBase { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * Allows user to select a single option from a list, similar to native select * component. * * Example: * ```tsx * * First Option * Second Option * Third Option * * ``` */ export declare class SelectButtonComponent extends SelectComponentBase { private focusMonitor; /** * Size of the button * @default 'md' */ size: 'sm' | 'md' | 'lg'; /** * Visual variations * @default 'tertiary' */ variant: 'primary' | 'secondary' | 'tertiary'; protected triggerRef: PopoverTriggerDirective | undefined; protected triggerElementRef: ElementRef | undefined; protected listbox: ListboxComponent | undefined; private focused; constructor(valueHolder: SelectValueHolder, focusMonitor: FocusMonitor, iconRegistry: IconRegistry); focus(focusOrigin?: FocusOrigin): void; isFocused(): boolean; _onFocusChange(focusOrigin: FocusOrigin): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }