/** Autogenerated by public2business schematic. DO NOT CHANGE! */ import { Highlightable } from '@angular/cdk/a11y'; import { ChangeDetectorRef, ElementRef, EventEmitter, InjectionToken } from '@angular/core'; import { TypeRef } from '@sbb-esta/angular-core/common-behaviors'; /** Event object emitted by AutocompleteOptionComponent when selected or deselected. */ export declare class SbbDropdownSelectionChange { /** Reference to the option that emitted the event. */ source: SbbDropdownItem; constructor( /** Reference to the option that emitted the event. */ source: SbbDropdownItem); } /** * Describes a parent component that manages a list of options. * Contains properties that the options can inherit. * @docs-private */ export interface SbbDropdownParent { multiple?: boolean; } /** Injection token used to provide the parent component to options. */ export declare const SBB_DROPDOWN_ITEM_PARENT_COMPONENT: InjectionToken; /** * Determines the position to which to scroll a panel in order for an option to be into view. * @param optionIndex Index of the option to be scrolled into the view. * @param optionHeight Height of the options. * @param currentScrollPosition Current scroll position of the panel. * @param panelHeight Height of the panel. * @docs-private */ export declare function getDropdownItemScrollPosition(optionIndex: number, optionHeight: number, currentScrollPosition: number, panelHeight: number): number; export declare class SbbDropdownItem implements Highlightable { private _elementRef; private _changeDetectorRef; /** Identifier of a dropdown item. */ id: string; /** Whether this dropdown item is disabled. */ disabled?: boolean; /** Whether this dropdown item is selected. */ selected: boolean; /** Whether this dropdown item is active. */ active: boolean; /** Event generated to click on a specific dropdown item. */ readonly selectionChange: EventEmitter; constructor(_elementRef: ElementRef, _changeDetectorRef: ChangeDetectorRef); setActiveStyles(): void; setInactiveStyles(): void; getLabel?(): string; _handleKeydown(event: TypeRef): void; _onClick(): void; selectViaInteraction(): void; private _emitSelectionChangeEvent; select(): void; deselect(): void; }