import * as i0 from '@angular/core'; import { OnInit, TemplateRef, ChangeDetectorRef } from '@angular/core'; import { ControlValueAccessor } from '@angular/forms'; /** Default values provider for rating */ declare class RatingConfig { /** aria label for rating */ ariaLabel: string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } interface RatingResults { index: number; title: string | number; } declare class RatingComponent implements ControlValueAccessor, OnInit { private changeDetection; /** number of icons */ max: i0.InputSignal; /** if true will not react on any user events */ readonly: i0.InputSignal; /** array of icons titles, default: (["one", "two", "three", "four", "five"]) */ titles: i0.InputSignal; /** custom template for icons */ customTemplate: i0.InputSignal | undefined>; /** fired when icon selected, $event:number equals to selected rating */ onHover: i0.OutputEmitterRef; /** fired when icon selected, $event:number equals to previous rating value */ onLeave: i0.OutputEmitterRef; onChange: Function; onTouched: Function; /** aria label for rating */ ariaLabel: string; range: RatingResults[]; value: number; protected preValue?: number; constructor(changeDetection: ChangeDetectorRef, config: RatingConfig); onKeydown(event: KeyboardEvent): void; ngOnInit(): void; writeValue(value: number): void; enter(value: number): void; reset(): void; registerOnChange(fn: (_: number) => void): void; registerOnTouched(fn: () => void): void; rate(value: number): void; protected buildTemplateObjects(max: number, titles: string[]): RatingResults[]; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class RatingModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { RatingComponent, RatingConfig, RatingModule };