import { ElementViewModel, ISurfaceContext } from '@devexpress/analytics-core/analytics-elements'; import { ModelSerializer } from '@devexpress/analytics-core/analytics-utils'; import * as ko from 'knockout'; import { ControlType } from '../utils/_controlTypes'; import { XRControlSurfaceBase } from '../xrControl'; import { SortBySummaryInfo } from './sortBySummary'; export interface IPivotGridFieldFormatInfo { formatString: ko.Observable; formatType: ko.Observable; } export interface IPivotGridField { area: ko.Observable | ko.Computed; areaIndex: ko.Observable | ko.Computed; } export declare class PivotGridFieldViewModel extends ElementViewModel implements IPivotGridField { static fieldHeight: number; static createNew(parent: any): () => PivotGridFieldViewModel; getFieldType(): string; getInfo(): import("@devexpress/analytics-core/analytics-utils").ISerializationInfoArray; getControlFactory(): import("../utils/controlsFactory").ControlsFactory; constructor(model: any, parent: ElementViewModel, serializer?: ModelSerializer); getPath(propertyName: any): string; getDisplayName(): any; controlType: ControlType; area: ko.Observable | ko.Computed; areaIndex: ko.Observable | ko.Computed; areaIndexEditable: ko.Observable | ko.Computed; index: ko.Observable | ko.Computed; fieldName: ko.Observable | ko.Computed; fieldNameEditable: any; caption: ko.Observable | ko.Computed; summaryType: ko.Observable; summaryDisplayType: ko.Observable; unboundType: ko.Observable; groupInterval: ko.Observable; unboundExpression: ko.Observable; sortBySummaryInfo: SortBySummaryInfo; valueFormat: IPivotGridFieldFormatInfo; totalValueFormat: IPivotGridFieldFormatInfo; cellFormat: IPivotGridFieldFormatInfo; totalCellFormat: IPivotGridFieldFormatInfo; grandTotalCellFormat: IPivotGridFieldFormatInfo; } export declare class PivotGridFieldSurface extends XRControlSurfaceBase implements IPivotGridField { constructor(control: PivotGridFieldViewModel, context: ISurfaceContext); minWidth: ko.Computed; area: ko.Observable | ko.Computed; areaIndex: ko.Observable | ko.Computed; positionWidthWithoutZoom: ko.Computed; }