import { RadioButtonClickEvent, RadioButtonPassThrough } from "primeng/types/radiobutton"; import * as i0 from "@angular/core"; import { ElementRef, Injector, Provider } from "@angular/core"; import { NgControl } from "@angular/forms"; import { BaseEditableHolder } from "primeng/baseeditableholder"; import * as i1 from "primeng/bind"; import { Bind } from "primeng/bind"; import { Nullable } from "primeng/ts-helpers"; import { InputSize, InputVariant } from "primeng/types/shared"; import { BaseStyle } from "primeng/base"; import * as i2 from "primeng/api"; export * from "primeng/types/radiobutton"; export declare class RadioButtonStyle extends BaseStyle { name: string; style: string; classes: { root: ({ instance }: { instance: any; }) => (string | { 'p-radiobutton-checked': any; 'p-disabled': any; 'p-invalid': any; 'p-variant-filled': boolean; 'p-radiobutton-sm p-inputfield-sm': boolean; 'p-radiobutton-lg p-inputfield-lg': boolean; })[]; box: string; input: string; icon: string; }; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /** * * RadioButton is an extension to standard radio button element with theming. * * [Live Demo](https://www.primeng.org/radiobutton/) * * @module radiobuttonstyle * */ export declare enum RadioButtonClasses { /** * Class name of the root element */ root = "p-radiobutton", /** * Class name of the box element */ box = "p-radiobutton-box", /** * Class name of the input element */ input = "p-radiobutton-input", /** * Class name of the icon element */ icon = "p-radiobutton-icon" } export declare const RADIO_VALUE_ACCESSOR: Provider; export declare class RadioControlRegistry { private accessors; add(control: NgControl, accessor: RadioButton): void; remove(accessor: RadioButton): void; select(accessor: RadioButton): void; private isSameGroup; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /** * RadioButton is an extension to standard radio button element with theming. * @group Components */ export declare class RadioButton extends BaseEditableHolder { componentName: string; $pcRadioButton: RadioButton | undefined; bindDirectiveInstance: Bind; /** * Value of the radiobutton. * @group Props */ value: import("@angular/core").InputSignal; /** * Index of the element in tabbing order. * @group Props */ tabindex: import("@angular/core").InputSignal; /** * Identifier of the focus input to match a label defined for the component. * @group Props */ inputId: 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; /** * Used to define a string that labels the input element. * @group Props */ ariaLabel: import("@angular/core").InputSignal; /** * When present, it specifies that the component should automatically get focus on load. * @group Props */ autofocus: import("@angular/core").InputSignalWithTransform; /** * Allows to select a boolean value. * @group Props */ binary: import("@angular/core").InputSignalWithTransform; /** * Specifies the input variant of the component. * @defaultValue undefined * @group Props */ variant: import("@angular/core").InputSignal; /** * Specifies the size of the component. * @defaultValue undefined * @group Props */ size: import("@angular/core").InputSignal; /** * Callback to invoke on radio button click. * @param {RadioButtonClickEvent} event - Custom click event. * @group Emits */ onClick: import("@angular/core").OutputEmitterRef; /** * Callback to invoke when the receives focus. * @param {Event} event - Browser event. * @group Emits */ onFocus: import("@angular/core").OutputEmitterRef; /** * Callback to invoke when the loses focus. * @param {Event} event - Browser event. * @group Emits */ onBlur: import("@angular/core").OutputEmitterRef; inputViewChild: import("@angular/core").Signal>; $variant: import("@angular/core").Signal; attrRequired: import("@angular/core").Signal<"" | undefined>; attrDisabled: import("@angular/core").Signal<"" | undefined>; dataP: import("@angular/core").Signal; checked: import("@angular/core").WritableSignal>; focused: Nullable; control: Nullable; _componentStyle: RadioButtonStyle; injector: Injector; registry: RadioControlRegistry; onAfterViewChecked(): void; onInit(): void; onChange(event: any): void; select(event: Event): void; onInputFocus(event: Event): void; onInputBlur(event: Event): void; /** * Applies focus to input field. * @group Method */ focus(): void; /** * @override * * @see {@link BaseEditableHolder.writeControlValue} * Writes the value to the control. */ writeControlValue(value: any, setModelValue: (value: any) => void): void; onDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare class RadioButtonModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; }