import { OnDestroy, OnInit } from "@angular/core"; import { MatTableDataSource } from "@angular/material/table"; import { MatPaginator } from "@angular/material/paginator"; import { MatSnackBar } from "@angular/material/snack-bar"; import { Observable, Subject } from "rxjs"; import { UntypedFormControl } from "@angular/forms"; import { MatSort } from "@angular/material/sort"; import { ReportService } from "../services/report.service"; import * as i0 from "@angular/core"; export interface ProductPerformanceI { _id: string; quantitySold: number; purchase: any; firstSold: any; lastSold: any; sales: number; costOfGoodsSold: number; grossProfit: number; } export declare class ProductPerformanceComponent implements OnInit, OnDestroy { private readonly snack; private readonly reportService; private productPerformanceFetchProgress; startDateFormControl: UntypedFormControl; endDateFormControl: UntypedFormControl; channelFormControl: UntypedFormControl; filterFormControl: UntypedFormControl; startDate: any; endDate: any; channel: string; productPerformanceReport: any; isLoading: boolean; noDataRetrieved: boolean; salesChannel: any; paginator: MatPaginator; sort: MatSort; destroyer: Subject; constructor(snack: MatSnackBar, reportService: ReportService); hotReloadProgress: boolean; totalPurchase: Observable; units: Observable; productPerformanceDatasource: MatTableDataSource; stockColumns: string[]; ngOnInit(): void; private getProductReport; private dateRangeListener; exportReport(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }