import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core'; import { GstSummary } from '../../../models/loan-summary.model'; import { GstQuickSummary } from '../../../models/api-response.model'; import { UcLineChartDataset } from '../../shared/charts/line-chart/line-chart.component'; import { UcChartDataset } from '../../shared/charts/bar-chart/bar-chart.component'; import * as i0 from "@angular/core"; export declare class GstSummaryComponent implements OnInit, OnChanges { /** Falls back to demo data only when no gstQuickSummary response is bound */ gstSummary: GstSummary; gstViewMode: 'overview' | 'detailed'; gstDetailedMarkdown: string; isLoadingGstDetails: boolean; /** Quick summary data from backend API for overview cards */ gstQuickSummary: GstQuickSummary | null; gstViewModeChange: EventEmitter<"overview" | "detailed">; monthlyReturnsPageIndex: number; filingHistoryPageIndex: number; readonly itemsPerPage = 5; turnoverChartLabels: string[]; turnoverChartDatasets: UcLineChartDataset[]; monthlyReturnsChartLabels: string[]; monthlyReturnsChartDatasets: UcChartDataset[]; private loanSummaryService; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; private computeChartData; /** Keeps the Monthly Returns chart in sync with whatever page the table is showing. */ private updateMonthlyReturnsChart; onGstViewModeChange(mode: 'overview' | 'detailed'): void; formatLakhs(amount: number): string; /** True when the backend quick-summary actually returned a usable value (not missing/"-"). */ hasQuickValue(value: string | number | undefined | null): boolean; /** Appends "%" unless the value (e.g. from a pre-formatted backend response) already has one. */ withPercent(value: string | number): string; getFilingStatusClass(status: string): string; getCombinedMonthlyReturnsData(): Array<{ month: string; turnover: number; totalSales: number; totalPurchases: number; totalTaxPaid: number; }>; getCombinedFilingHistoryData(): Array<{ period: string; returnType: string; filedDate: string; status: 'Filed' | 'Pending' | 'Delayed'; }>; private generateFilingDate; private getRandomFilingStatus; getPaginatedMonthlyReturns(): Array<{ month: string; turnover: number; totalSales: number; totalPurchases: number; totalTaxPaid: number; }>; canGoPrevMonthlyReturns(): boolean; canGoNextMonthlyReturns(): boolean; prevMonthlyReturnsPage(): void; nextMonthlyReturnsPage(): void; getMonthlyReturnsPaginationInfo(): string; getPaginatedFilingHistory(): Array<{ period: string; returnType: string; filedDate: string; status: 'Filed' | 'Pending' | 'Delayed'; }>; canGoPrevFilingHistory(): boolean; canGoNextFilingHistory(): boolean; prevFilingHistoryPage(): void; nextFilingHistoryPage(): void; getFilingHistoryPaginationInfo(): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }