import type { Cell } from '@fortune-sheet/core'; export type SpreadsheetNumberFormatPreset = 'general' | 'number' | 'currency' | 'accounting' | 'percent' | 'date' | 'time' | 'scientific' | 'fraction' | 'text' | 'custom'; export type SpreadsheetNumberFormatChoice = Exclude; export declare const spreadsheetNumberFormatPresetLabels: { readonly general: "常规"; readonly number: "数字"; readonly currency: "货币"; readonly accounting: "会计专用"; readonly percent: "百分比"; readonly date: "短日期"; readonly time: "时间"; readonly scientific: "科学计数"; readonly fraction: "分数"; readonly text: "文本"; readonly custom: "自定义"; }; export declare function spreadsheetNumberFormatPreset(formatCode?: string): SpreadsheetNumberFormatPreset; export declare function spreadsheetNumberFormatCode(preset: SpreadsheetNumberFormatChoice): string; export declare function spreadsheetNumberFormatValue(formatCode: string, cell?: Cell | null): NonNullable & { fa: string; t: string; }; export declare function adjustSpreadsheetNumberFormat(formatCode: string | undefined, direction: -1 | 1): string;