import { OnInit, ChangeDetectorRef, EventEmitter } from '@angular/core'; import { LetterToBoardService, LetterOnBoard } from '@schoolbelle/api/letter-to-board'; import { LetterService } from '@schoolbelle/api/letter'; import { GroupService } from '@schoolbelle/api/group'; import { BoardService } from '@schoolbelle/api/board'; import { Observable, Subscription } from 'rxjs'; import { AuthService } from '@schoolbelle/api/auth'; import { InfiniteListService } from '@schoolbelle/common/infinite-list'; export declare class LetterItemComponent implements OnInit { protected auth: AuthService; group: GroupService; board: BoardService; protected ltb: LetterToBoardService; protected letter: LetterService; protected cdRef: ChangeDetectorRef; protected locale_id: string; infinite: InfiniteListService; item: LetterOnBoard; query: string; isInView: boolean; fixedAtTop: boolean; fixAtTop: EventEmitter; title: string | { [lang: string]: string; }; content: string | { [lang: string]: string; }; usedLangs: string[]; currentLang: string; subscription: Subscription; readonly reserved: boolean; permission: string; constructor(auth: AuthService, group: GroupService, board: BoardService, ltb: LetterToBoardService, letter: LetterService, cdRef: ChangeDetectorRef, locale_id: string); handleLanguages(): void; ngOnInit(): void; ngOnDestroy(): void; refresh(): Observable; update(data: { [key: string]: any; }): void; set(item: LetterOnBoard): void; delete(item: LetterOnBoard): Observable; protected deleteFromAllLetterTargets(item: LetterOnBoard): Observable; protected deleteFromCurrentLetterTarget(item: LetterOnBoard): Observable; canFixAtTop(): boolean; flagToggling: boolean; viewAnyways: boolean; flag(comment?: string): Observable; unflag(): Observable; clearFlags(): Observable; report(comment?: string): Observable; unreport(): Observable; readonly blinded: boolean; }