import type { Cell } from '@fortune-sheet/core'; export declare const spreadsheetCellFormatAttributes: readonly ["bl", "it", "ff", "fs", "fc", "ht", "vt", "tb", "cl", "un", "tr", "ct", "bg", "a3sXlsxPatternFill", "a3sXlsxGradientFill"]; export type SpreadsheetCellFormatAttribute = (typeof spreadsheetCellFormatAttributes)[number]; export type SpreadsheetFormatPainterMode = 'once' | 'locked'; export type SpreadsheetCellFormatSnapshot = Record; export interface SpreadsheetFormatPattern { cells: readonly (readonly SpreadsheetCellFormatSnapshot[])[]; columnCount: number; rowCount: number; } export interface SpreadsheetFormatPainterRange { column: number[]; row: number[]; } export interface SpreadsheetFormatPainterSheetBounds { columnCount: number; rowCount: number; } export interface SpreadsheetFormatPainterBatch { attribute: SpreadsheetCellFormatAttribute; ranges: SpreadsheetFormatPainterRange[]; value: unknown; } export declare function captureSpreadsheetFormatPattern(cells: readonly (readonly (Cell | null)[])[]): SpreadsheetFormatPattern | null; export declare function spreadsheetFormatPainterTargetRange(target: SpreadsheetFormatPainterRange, pattern: Pick, bounds: SpreadsheetFormatPainterSheetBounds): SpreadsheetFormatPainterRange | null; export declare function spreadsheetFormatPainterCellCount(range: SpreadsheetFormatPainterRange): number; export declare function spreadsheetFormatPainterBatches(pattern: SpreadsheetFormatPattern, target: SpreadsheetFormatPainterRange): SpreadsheetFormatPainterBatch[];