import { HttpErrorResponse } from '@angular/common/http'; import { EventEmitter, OnDestroy, OnInit } from '@angular/core'; import 'rxjs/add/operator/catch'; import 'rxjs/add/operator/debounceTime'; import 'rxjs/add/operator/distinctUntilChanged'; import 'rxjs/add/operator/filter'; import 'rxjs/add/operator/map'; import 'rxjs/add/operator/share'; import 'rxjs/add/operator/switchMap'; import 'rxjs/add/operator/toPromise'; import { CalendarFetcher } from '../CalendarFetcher/CalendarFetcher'; import { ProxyURLFormatterFunction } from '../CalendarFetcher/ProxyURLFormatterFunction'; import { Translator } from '../Translate/Translator'; import { Locale } from '../Translate/types/Locale'; import { TranslationSpec } from '../Translate/types/TranslationSpec'; import { Day, Month } from '../util/CalendarTypes'; /** The main calendar component */ export declare class GhContribCalendarComponent implements OnDestroy, OnInit { /** Any errors that occurred */ readonly error: EventEmitter; /** Whether or not the controls for changing the year should be shown */ showControls: boolean; constructor(cdr: any, fetcher: CalendarFetcher, tr: Translator); /** Whether or not the entered date is today */ readonly atMaxRange: boolean; /** The entered day getter */ /** The entered day setter */ day: Day; /** Proxy formatter function getter */ /** Proxy formatter function setter */ formatterFn: ProxyURLFormatterFunction; /** Locale setter */ locale: Locale; /** Entered month getter */ /** Entered month setter */ month: Month; /** Entered date setter */ to: Date | string; /** Custom translations setter */ translations: Partial; /** Entered user getter */ /** Entered user setter */ user: string; /** Entered year getter */ /** Entered year setter */ year: number | string; ngOnDestroy(): void; private setupData(); }