import type { Cell } from '@fortune-sheet/core'; import { type SpreadsheetUnderlineStyle } from './work-spreadsheet-underline'; import type { XlsxCellBorder } from './work-xlsx-cell-borders'; import { type XlsxSemanticColorOrigin, type XlsxSemanticPalette } from './work-xlsx-cell-style-origin'; import { type XlsxDirectAlignmentStyle } from './work-xlsx-cell-style-xml'; import { type XlsxColorResolver } from './work-xlsx-colors'; export interface XlsxDirectFontStyle { bold?: boolean; color?: string; italic?: boolean; name?: string; size?: number; strike?: boolean; underline?: SpreadsheetUnderlineStyle; } export declare function hasXlsxDirectFontStyle(cell: Cell): boolean; export declare function directXlsxFontStyle(cell: Cell): XlsxDirectFontStyle; export declare function directXlsxAlignment(cell: Cell): XlsxDirectAlignmentStyle | null; export declare function xlsxStyleCollectionIndex(collection: Element, childName: string, value: string | null): number; export declare function xlsxColorMatches(element: Element | undefined, value: string, colors: XlsxColorResolver, fallback?: string): boolean; export declare function xlsxToggleEnabled(element: Element | undefined): boolean; export declare function xlsxUnderlineStyle(element: Element | undefined): SpreadsheetUnderlineStyle; export declare function xlsxBorderLineMatches(element: Element | undefined, line: NonNullable | null, colors: XlsxColorResolver, semanticColor?: XlsxSemanticColorOrigin): boolean; export declare function activeXlsxSemanticColorOrigin(origin: XlsxSemanticColorOrigin | undefined, value: unknown, palette: XlsxSemanticPalette | undefined): XlsxSemanticColorOrigin | undefined; export declare function xlsxBooleanAttribute(element: Element | undefined, name: string): boolean; export declare function xlsxAlignmentMatches(xf: Element, style: XlsxDirectAlignmentStyle): boolean;