import { GridColumnDef, GridGroupState } from './models'; import * as i0 from "@angular/core"; /** * Standalone injectable service for exporting grid data to JSON, CSV, and Excel formats. * Extracted from DataGridComponent to enable reuse and reduce component size. */ export declare class GridExportService { /** * Export data as a JSON file download. */ exportToJson(data: T[], filename?: string): void; /** * Export data as a CSV file download. */ exportToCsv(data: T[], columns: GridColumnDef[], filename?: string, groupBy?: GridGroupState | null): void; /** * Export data as an Excel (.xls) file download using an HTML table template. */ exportToExcel(data: T[], columns: GridColumnDef[], filename?: string, groupBy?: GridGroupState | null): void; exportToPdf(data: T[], columns: GridColumnDef[], title?: string, groupBy?: GridGroupState | null): void; /** * Create a temporary anchor element, trigger a download, and clean up. */ private triggerDownload; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }