import { OnInit } from '@angular/core'; import { Comment, CommentService } from './comment.service'; import * as i0 from "@angular/core"; export declare class CommentsComponent implements OnInit { private commentService; objectId: number; items: Comment[]; trackByCommentId: (index: number, comment: Comment) => number; constructor(commentService: CommentService); ngOnInit(): void; onCommentAdd(comment: Comment): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }