import { AfterViewInit, EventEmitter, OnChanges, SimpleChanges } from '@angular/core'; import { Item } from '../item.model'; import { MdInputDirective } from '@angular/material'; import { Vote } from '../../vote/vote.model'; import { Comment } from '../../comment/comment.model'; import { VoteService } from '../../vote/vote.service'; import { Observable } from 'rxjs/Observable'; import { Representative } from '../../group/group.model'; import { ShareArgs, ShareButton, ShareProvider } from 'ngx-sharebuttons'; export declare class ItemViewComponent implements OnChanges, AfterViewInit { private voteSvc; item: Item; userVote: Vote | null; numFollows: number; isFollowing: boolean; activeMeeting: string; userComment: Comment | null; votes: Vote[]; activeGroup: string; userRep: Representative | null; canEdit: boolean; isEditing: boolean; savePending: boolean; saveError: string | null; numCommentsShown: number; showComments: EventEmitter; topPro: Comment | null; topCon: Comment | null; comments: Comment[]; follow: EventEmitter; vote: EventEmitter<{ itemId: string; value: number; groupId: string; }>; commentVote: EventEmitter<{ commentId: string; value: number; }>; comment: EventEmitter<{ itemId: string; text: string; role: string; groupId: string; }>; back: EventEmitter; edit: EventEmitter; save: EventEmitter; share: EventEmitter<{ provider: ShareProvider; args: ShareArgs; }>; newComment: string; voteStats: { yes: number; no: number; }; addCommentInput: MdInputDirective; addCommentPlaceholder: string; private _commentOrder; editPending: boolean; edited: { text: string; resources: string[]; }; fbShareBtn: ShareButton; tweetBtn: ShareButton; constructor(voteSvc: VoteService); addOrRemoveFollow(): void; ngAfterViewInit(): void; ngOnChanges(changes: SimpleChanges): void; removeResource(idx: number): void; addResource(): void; readonly itemNumber: number; readonly isClosedSession: boolean; castVote(value: number): void; postComment(): void; editComment(edited: { text?: string; role?: string; }): void; userVoteFor(id: string): Observable; hasChanges(): boolean; saveChanges(): void; readonly userVoteVal: number | null; showMoreComments(): void; visibleComments(): Comment[]; doShare(via: 'facebook' | 'twitter' | 'google'): void; }