import { IRenderable, IRenderer, ISpecification, IStackeable } from '../../api'; import { ProcessNode } from "./ProcessNode"; import { EventFactory } from "../../event/EventFactory"; /** * Implementation of the 'rating' markup element. A div HTML element * is created and the class lto-rating is added to allow CSS modifications. * * @see {@link IRenderable} * @see {@link IStackeable} */ export declare class Rating implements IRenderable, IStackeable { static readonly TYPE = "rating"; private readonly spec; private readonly ratedProcessNode; private readonly eventFactory; private readonly ratingContainer; private ratingButtons; private selectedRatingButtonType; constructor(message: ISpecification, ratedProcessNode: ProcessNode, eventFactory: EventFactory); /** * @inheritDoc */ render(renderer: IRenderer, isNested: boolean): HTMLElement; private renderRatingButton; private ratingButtonOnClick; private getScoreOfClickedButton; }