import { SelectButtonChangeEvent, SelectButtonItemTemplateContext, SelectButtonOptionClickEvent, SelectButtonPassThrough } from "primeng/types/selectbutton"; import * as i0 from "@angular/core"; import { Provider, TemplateRef } from "@angular/core"; import { BaseEditableHolder } from "primeng/baseeditableholder"; import * as i1 from "primeng/bind"; import { Bind } from "primeng/bind"; import { InputSize } from "primeng/types/shared"; import { ToggleButtonChangeEvent } from "primeng/types/togglebutton"; import { BaseStyle } from "primeng/base"; import * as i2 from "primeng/api"; export * from "primeng/types/selectbutton"; export declare class SelectButtonStyle extends BaseStyle { name: string; style: string; classes: { root: ({ instance }: { instance: any; }) => (string | { 'p-invalid': any; 'p-selectbutton-fluid': any; })[]; }; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /** * * SelectButton is used to choose single or multiple items from a list using buttons. * * [Live Demo](https://www.primeng.org/selectbutton/) * * @module selectbuttonstyle * */ export declare enum SelectButtonClasses { /** * Class name of the root element */ root = "p-selectbutton" } export declare const SELECTBUTTON_VALUE_ACCESSOR: Provider; /** * SelectButton is used to choose single or multiple items from a list using buttons. * @group Components */ export declare class SelectButton extends BaseEditableHolder { componentName: string; /** * An array of selectitems to display as the available options. * @group Props */ options: import("@angular/core").InputSignal; /** * Name of the label field of an option. * @group Props */ optionLabel: import("@angular/core").InputSignal; /** * Name of the value field of an option. * @group Props */ optionValue: import("@angular/core").InputSignal; /** * Name of the disabled field of an option or function to determine disabled state. * @group Props */ optionDisabled: import("@angular/core").InputSignal boolean) | undefined>; /** * Whether selection can be cleared. * @group Props */ unselectable: import("@angular/core").InputSignalWithTransform; /** * Index of the element in tabbing order. * @group Props */ tabindex: import("@angular/core").InputSignalWithTransform; /** * When specified, allows selecting multiple values. * @group Props */ multiple: import("@angular/core").InputSignalWithTransform; /** * Whether selection can not be cleared. * @group Props */ allowEmpty: import("@angular/core").InputSignalWithTransform; /** * Style class of the component. * @group Props */ styleClass: import("@angular/core").InputSignal; /** * Establishes relationships between the component and label(s) where its value should be one or more element IDs. * @group Props */ ariaLabelledBy: import("@angular/core").InputSignal; /** * A property to uniquely identify a value in options. * @group Props */ dataKey: import("@angular/core").InputSignal; /** * When present, it specifies that the component should automatically get focus on load. * @group Props */ autofocus: import("@angular/core").InputSignalWithTransform; /** * Specifies the size of the component. * @defaultValue undefined * @group Props */ size: import("@angular/core").InputSignal; /** * Spans 100% width of the container when enabled. * @defaultValue undefined * @group Props */ fluid: import("@angular/core").InputSignalWithTransform; /** * Callback to invoke on input click. * @param {SelectButtonOptionClickEvent} event - Custom click event. * @group Emits */ onOptionClick: import("@angular/core").OutputEmitterRef; /** * Callback to invoke on selection change. * @param {SelectButtonChangeEvent} event - Custom change event. * @group Emits */ onChange: import("@angular/core").OutputEmitterRef; /** * Custom item template. * @param {SelectButtonItemTemplateContext} context - item context. * @see {@link SelectButtonItemTemplateContext} * @group Templates */ itemTemplate: import("@angular/core").Signal | undefined>; equalityKey: import("@angular/core").Signal; $allowEmpty: import("@angular/core").Signal; dataP: import("@angular/core").Signal; value: import("@angular/core").WritableSignal; focusedIndex: import("@angular/core").WritableSignal; _componentStyle: SelectButtonStyle; $pcSelectButton: SelectButton | undefined; bindDirectiveInstance: Bind; onAfterViewChecked(): void; getAllowEmpty(): boolean; getOptionLabel(option: any): any; getOptionValue(option: any): any; isOptionDisabled(option: any): any; isButtonDisabled(option: any): any; getItemContext(option: any, index: number): { $implicit: any; index: number; }; onOptionSelect(event: ToggleButtonChangeEvent, option: any, index: number): void; changeTabIndexes(event: Event, direction: string): void; onFocus(event: Event, index: number): void; onBlur(): void; removeOption(option: any): void; isSelected(option: any): boolean; /** * @override * * @see {@link BaseEditableHolder.writeControlValue} * Writes the value to the control. */ writeControlValue(value: any, setModelValue: (value: any) => void): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare class SelectButtonModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; }