import type { Cell } from '@fortune-sheet/core'; import { type XlsxSemanticColorOrigin } from './work-xlsx-cell-style-origin'; import { type XlsxColorResolver } from './work-xlsx-colors'; export declare const XLSX_GRADIENT_FILL_CELL_KEY: "a3sXlsxGradientFill"; export declare const MAX_XLSX_GRADIENT_STOPS = 256; export interface XlsxGradientStop { color: string; colorOrigin?: XlsxSemanticColorOrigin; position: number; } export type XlsxGradientFill = { degree: number; stops: XlsxGradientStop[]; type: 'linear'; } | { bottom: number; left: number; right: number; stops: XlsxGradientStop[]; top: number; type: 'path'; }; export declare function readXlsxGradientFill(element: Element | undefined, colors: XlsxColorResolver): XlsxGradientFill | undefined; export declare function withXlsxGradientFill(cell: Cell, fill: XlsxGradientFill | undefined): Cell; export declare function deleteXlsxGradientFill(cell: Cell): void; export declare function xlsxGradientFill(cell: Cell | null | undefined): XlsxGradientFill | undefined; export declare function activeXlsxGradientFill(cell: Cell | null | undefined): XlsxGradientFill | undefined; export declare function normalizeXlsxGradientFill(value: unknown): XlsxGradientFill | undefined; export declare function xlsxGradientFillFallbackColor(fill: XlsxGradientFill): string; export declare function xlsxGradientFillSemanticColors(fill: XlsxGradientFill | undefined): XlsxSemanticColorOrigin[]; export declare function xlsxGradientFillKey(fill: XlsxGradientFill | undefined): string;