import { EventEmitter, OnInit } from '@angular/core';
import { ControlValueAccessor, NgModel } from '@angular/forms';
export declare class RatingComponent implements ControlValueAccessor, OnInit {
    max: number;
    stateOn: string;
    stateOff: string;
    readonly: boolean;
    titles: Array<string>;
    ratingStates: {
        stateOn: string;
        stateOff: string;
    }[];
    onHover: EventEmitter<number>;
    onLeave: EventEmitter<number>;
    onChange: any;
    onTouched: any;
    cd: NgModel;
    range: Array<any>;
    value: number;
    protected preValue: number;
    onKeydown(event: KeyboardEvent): void;
    constructor(cd: NgModel);
    ngOnInit(): void;
    writeValue(value: number): void;
    enter(value: number): void;
    reset(): void;
    registerOnChange(fn: (_: any) => {}): void;
    registerOnTouched(fn: () => {}): void;
    rate(value: number): void;
    protected buildTemplateObjects(ratingStates: Array<any>, max: number): Array<any>;
}
