import { CellCoordinate, CellRange } from './grid-selection.service'; import * as i0 from "@angular/core"; export declare class GridClipboardService { /** Copy selected cell values as TSV to clipboard */ copyToClipboard>(data: T[], ranges: CellRange[], fields: string[]): Promise; /** Cut selected cells (copy + clear values) */ cutToClipboard>(data: T[], ranges: CellRange[], fields: string[]): Promise<{ clearedCells: { rowIndex: number; field: string; previousValue: unknown; }[]; }>; /** Parse clipboard TSV/CSV text into a 2D cell matrix */ parseClipboardText(text: string): string[][]; /** Paste clipboard data into grid starting from a coordinate */ pasteFromClipboard>(data: T[], startCoord: CellCoordinate, editableFields: string[]): Promise<{ pastedCells: { rowIndex: number; field: string; previousValue: unknown; newValue: string; }[]; }>; /** Fill handle: extend values from source range into target range */ fillRange>(data: T[], sourceRange: CellRange, targetRange: CellRange, fields: string[]): { filledCells: { rowIndex: number; field: string; previousValue: unknown; newValue: unknown; }[]; }; /** Format a 2D array of values as TSV string */ formatAsTsv(values: unknown[][]): string; /** Helper to get min/max row and col indices from ranges */ private getBounds; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }