import { OnInit } from '@angular/core';
import { ActivatedRoute } from '@angular/router';
import { RestService } from '../../../services/rest.service';
import { Review } from '../../styles/review.modal';
import { ProductDescModal } from '../product-desc/product-desc.modal';
import { BackgroundModel } from '../../../styles/style.model';
import * as i0 from "@angular/core";
export declare class CustomerReviewComponent implements OnInit {
    private readonly activatedRoute;
    private readonly restService;
    data?: ProductDescModal;
    index?: number;
    edit?: boolean;
    delete?: boolean;
    nextComponentColor?: BackgroundModel;
    productId: string | null;
    customerReviews: Review[];
    totalRating: number;
    totalRatinsCount: number;
    constructor(activatedRoute: ActivatedRoute, restService: RestService);
    ngOnInit(): void;
    overallRatingCount: Map<string, string> | null;
    getAllReviews(): void;
    getKeys(object: Map<string, string> | null): string[];
    getPercentage(value: string | number | undefined): number;
    static ɵfac: i0.ɵɵFactoryDeclaration<CustomerReviewComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<CustomerReviewComponent, "simpo-customer-review", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
}
