import { OnInit } from '@angular/core'; import { InputControl } from '../../input/input.control'; /** * This interface is deprecated. * An interface that represents a selectable option. */ interface SelectOption { /** * Returns the label that is showed. */ label: string; /** * Returns the value that is stored internally. */ value: any; } /** * This component is deprecated. * The `extraContent` recibe una funcion llamada getOptions() que se encarga de contruir un SelectOption[]. * Si es multiple, entonces el `value` es un array de valores. */ export declare class SelectComponent extends InputControl/*FormFieldControl_Experimental*/ implements OnInit { /** * Returns the options list that can be selected. * By default, its value is `[]`. */ selectOptions: SelectOption[]; /** * Returns true if the selection can be multiple; otherwise, false. * By default, its value is `false`. */ multiple: boolean; constructor(); ngOnInit(): void; /** * Initializes the `content` input property. * @param label The default label to use. It is used if the `content.label` is not specified. * @param placeholder The default placeholder to use. It is used if the `content.placeholder` is not specified. * @param isAbbreviation If it is true then the `label` argument represents an abbreviation; otherwise, false. * @param alwaysHint If it is true then there is always at leat one hint start-aligned. */ protected init(label: string | undefined, placeholder: string, isAbbreviation: boolean, alwaysHint: boolean): void; onSelectionChange(): void; } export {};