import type { Cell } from '@fortune-sheet/core'; export declare const spreadsheetTextOrientationIds: readonly ["horizontal", "angleCounterclockwise", "angleClockwise", "vertical", "rotateUp", "rotateDown"]; export type SpreadsheetTextOrientationId = (typeof spreadsheetTextOrientationIds)[number]; export type SpreadsheetTextOrientation = { kind: 'rotation'; angle: number; } | { kind: 'stacked'; }; export type SpreadsheetTextOrientationCellStyle = Pick; export declare function isSpreadsheetTextOrientationId(value: unknown): value is SpreadsheetTextOrientationId; export declare function spreadsheetTextOrientationFromChoice(choice: SpreadsheetTextOrientationId): SpreadsheetTextOrientation; export declare function spreadsheetTextOrientationFromAngle(value: unknown): SpreadsheetTextOrientation | null; export declare function spreadsheetTextOrientationFromXlsx(value: unknown): SpreadsheetTextOrientation | null; export declare function spreadsheetExplicitTextOrientationFromCell(cell: Pick | null | undefined): SpreadsheetTextOrientation | null; export declare function spreadsheetTextOrientationFromCell(cell: Pick | null | undefined): SpreadsheetTextOrientation; export declare function spreadsheetTextOrientationCellStyle(orientation: SpreadsheetTextOrientation | null | undefined): SpreadsheetTextOrientationCellStyle | null; export declare function spreadsheetTextOrientationXlsxValue(orientation: SpreadsheetTextOrientation | null | undefined): number | null; export declare function spreadsheetTextOrientationXlsxValueFromCell(cell: Pick | null | undefined): number | null; export declare function spreadsheetVisibleTextRotationFromCell(cell: Pick | null | undefined): number; export declare function spreadsheetTextOrientationChoiceFromCell(cell: Pick | null | undefined): SpreadsheetTextOrientationId | null;