import { DoCheck, ElementRef, EventEmitter } from '@angular/core'; import { NgBoxService } from './ngbox.service'; /** * 参考https://github.com/mixalistzikas/ngbox */ export declare class NgBoxComponent implements DoCheck { ngBox: NgBoxService; offsetHeight: number; interval: any; data: any; showMore: EventEmitter<{}>; elementView: ElementRef; elementButtons: ElementRef; constructor(ngBox: NgBoxService); ngDoCheck(): void; closeOutside($event: any): void; checkInterval(): void; closeNgBox(): void; elementExist(): boolean; resize(): void; checkKeyPress(event: KeyboardEvent): void; calcPercent(value: any, of: any): any; getHasGroup(): boolean; getCount(): any; getCurrentIndex(): any; nextNgBox(): boolean; previousNgBox(): boolean; isLoaded(): void; }