/** * DevExpress Analytics (core\internal\_cssCalculator.d.ts) * Version: 25.2.7 * Build date: May 5, 2026 * Copyright (c) 2012 - 2026 Developer Express Inc. ALL RIGHTS RESERVED * License: https://www.devexpress.com/Support/EULAs/universal.xml */ import * as ko from 'knockout'; import { PaddingModel } from '../elements/paddingModel'; export interface IStyleContainer { rtl: () => boolean | undefined; } export declare function patchPositionByRTL(position: string, rtl: boolean): string; export declare class CssCalculator { private _rtlLayout; static DEFAULT_BORDER: string; private _control; private _getPixelValueFromUnit; private _patchPosition; private _getBorderWidth; createBorder(dashStyle: any, width: any, color: any, positions: any, position: string): Record; createControlBorder(borderStyle: any, width: any, color: any, positions: any, position: any, defaultColor?: string): Record; createBorders(borderStyle: any, width: any, color: any, positions: any, defaultColor?: string): any; createZipCodeFont(height: number): Record; createFont(fontString: string): Record; createVerticalAlignment(alignment: string): {}; createHorizontalAlignment(alignment: string): {}; createStrokeDashArray(style: any, width: any): string; createWordWrap(wordwrap: boolean, multiline: boolean): Record; createAngle(angle: any): { '-webkit-transform': string; '-moz-transform': string; '-o-transform': string; '-ms-transform': string; transform: string; }; createLineSpacing(lineSpacing?: number): { 'line-height': string; 'margin-top': string; overflow: string; 'scrollbar-width': string; }; constructor(control: IStyleContainer, _rtlLayout: ko.Observable | ko.Computed | boolean); borderCss: (zoom?: number) => Record; fontCss: () => Record; zipCodeFontCss: (fontSize?: number) => Record; textAlignmentCss: () => Record; foreColorCss: () => Record; paddingsCss: () => Record; backGroundCss: () => Record; stroke: () => Record; strokeWidth: () => Record; strokeWidthWithWidth: () => Record; strokeDashArray: () => Record; strokeDashArrayWithWidth: () => Record; crossBandBorder: (position: string) => Record; angle: () => Record; wordWrapCss: () => Record; lineSpacingCss: () => { 'line-height'?: string; 'margin-top'?: string; 'overflow'?: string; 'scrollbar-width'?: string; }; cellBorder: (position: string, zoom: number) => Record; zipCodeAlignment: () => Record; contentSizeCss(controlSurfaceWidth: number, controlSurfaceHeight: number, zoom?: number, borders?: string, paddings?: PaddingModel): { top: number; left: number; right: number; bottom: number; width: number; height: number; }; }