import { OnDestroy, OnInit, OnChanges, SimpleChanges } from '@angular/core'; import { LocalService } from './local.service'; import * as i0 from "@angular/core"; export declare type NcPositionType = 'rightBottom' | 'leftBottom' | 'rightTop' | 'leftTop'; export declare type NcAnimationType = 'default' | 'fade' | 'slide'; export declare class WeatherComponent implements OnInit, OnDestroy, OnChanges { private ls; /** token */ ncToken: string; /** 经度 */ ncLng: string | number; /** 纬度 */ ncLat: string | number; /** 刷新频率:分钟 */ ncInterval: number; /** 详情面板相对于bar的位置 */ ncPosition: NcPositionType; /** 动画类型:fade:淡入淡出 slide:滑入滑出 default:无动画 */ ncAnimation: NcAnimationType; /** 是否显示位置信息 */ private _showLocation; set ncShowLocation(value: boolean | string); get ncShowLocation(): boolean; /** 24小时预报 */ private _showHourly; set ncShowHourly(value: boolean | string); get ncShowHourly(): boolean; /** 5天预报 */ private _showDaily; set ncShowDaily(value: boolean | string); get ncShowDaily(): boolean; /** 生活指数 */ private _showLife; set ncShowLife(value: boolean | string); get ncShowLife(): boolean; detailShow: boolean; weatherData: any; reloadInterval: any; private initialized; constructor(ls: LocalService); ngOnInit(): Promise; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; getWeatherData(): Promise; updateWeatherData(): Promise; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }