import { FixedInterval } from '@devexpress/utils/lib/intervals/fixed'; import { EqualFunc } from '@devexpress/utils/lib/types'; import { SectionPropertiesHistoryItemBase } from '../history/items/section-properties-history-items'; import { JSONSectionProperty } from '../json/enums/json-section-enums'; import { ModelManipulator } from '../manipulators/model-manipulator'; import { SectionStartType } from './enums'; import { PaperKind } from './paper-kind'; import { SectionColumnProperties } from './section-column-properties'; import { SectionProperties } from './section-properties'; export type SectionPropertiesHistoryItemType = new (modelManipulator: ModelManipulator, interval: FixedInterval, newValue: T) => SectionPropertiesHistoryItemBase; export interface ISectionPropertyDescriptor { setProp(props: SectionProperties, newValue: T): any; getProp(props: SectionProperties): T; getHistoryItemConstructor(): SectionPropertiesHistoryItemType; getJSONProperty(): JSONSectionProperty; binaryEquals: EqualFunc; defaultValue: T; } export declare class SectionPropertiesMarginLeftDescriptor implements ISectionPropertyDescriptor { setProp(props: SectionProperties, newValue: number): void; getProp(props: SectionProperties): number; getHistoryItemConstructor(): SectionPropertiesHistoryItemType; getJSONProperty(): JSONSectionProperty; binaryEquals: EqualFunc; defaultValue: number; } export declare class SectionPropertiesMarginTopDescriptor implements ISectionPropertyDescriptor { setProp(props: SectionProperties, newValue: number): void; getProp(props: SectionProperties): number; getHistoryItemConstructor(): SectionPropertiesHistoryItemType; getJSONProperty(): JSONSectionProperty; binaryEquals: EqualFunc; defaultValue: number; } export declare class SectionPropertiesMarginRightDescriptor implements ISectionPropertyDescriptor { setProp(props: SectionProperties, newValue: number): void; getProp(props: SectionProperties): number; getHistoryItemConstructor(): SectionPropertiesHistoryItemType; getJSONProperty(): JSONSectionProperty; binaryEquals: EqualFunc; defaultValue: number; } export declare class SectionPropertiesMarginBottomDescriptor implements ISectionPropertyDescriptor { setProp(props: SectionProperties, newValue: number): void; getProp(props: SectionProperties): number; getHistoryItemConstructor(): SectionPropertiesHistoryItemType; getJSONProperty(): JSONSectionProperty; binaryEquals: EqualFunc; defaultValue: number; } export declare class SectionPropertiesFooterOffsetDescriptor implements ISectionPropertyDescriptor { setProp(props: SectionProperties, newValue: number): void; getProp(props: SectionProperties): number; getHistoryItemConstructor(): SectionPropertiesHistoryItemType; getJSONProperty(): JSONSectionProperty; binaryEquals: EqualFunc; defaultValue: number; } export declare class SectionPropertiesHeaderOffsetDescriptor implements ISectionPropertyDescriptor { setProp(props: SectionProperties, newValue: number): void; getProp(props: SectionProperties): number; getHistoryItemConstructor(): SectionPropertiesHistoryItemType; getJSONProperty(): JSONSectionProperty; binaryEquals: EqualFunc; defaultValue: number; } export declare class SectionPropertiesColumnCountDescriptor implements ISectionPropertyDescriptor { setProp(props: SectionProperties, newValue: number): void; getProp(props: SectionProperties): number; getHistoryItemConstructor(): SectionPropertiesHistoryItemType; getJSONProperty(): JSONSectionProperty; binaryEquals: EqualFunc; defaultValue: number; } export declare class SectionPropertiesSpaceDescriptor implements ISectionPropertyDescriptor { setProp(props: SectionProperties, newValue: number): void; getProp(props: SectionProperties): number; getHistoryItemConstructor(): SectionPropertiesHistoryItemType; getJSONProperty(): JSONSectionProperty; binaryEquals: EqualFunc; defaultValue: number; } export declare class SectionPropertiesEqualWidthColumnsDescriptor implements ISectionPropertyDescriptor { setProp(props: SectionProperties, newValue: boolean): void; getProp(props: SectionProperties): boolean; getHistoryItemConstructor(): SectionPropertiesHistoryItemType; getJSONProperty(): JSONSectionProperty; binaryEquals: EqualFunc; defaultValue: boolean; } export declare class SectionPropertiesColumnsInfoDescriptor implements ISectionPropertyDescriptor { setProp(props: SectionProperties, newValue: SectionColumnProperties[]): void; getProp(props: SectionProperties): SectionColumnProperties[]; getHistoryItemConstructor(): SectionPropertiesHistoryItemType; getJSONProperty(): JSONSectionProperty; binaryEquals: EqualFunc; defaultValue: SectionColumnProperties[]; } export declare class SectionPropertiesPageWidthDescriptor implements ISectionPropertyDescriptor { setProp(props: SectionProperties, newValue: number): void; getProp(props: SectionProperties): number; getHistoryItemConstructor(): SectionPropertiesHistoryItemType; getJSONProperty(): JSONSectionProperty; binaryEquals: EqualFunc; defaultValue: number; } export declare class SectionPropertiesPageHeightDescriptor implements ISectionPropertyDescriptor { setProp(props: SectionProperties, newValue: number): void; getProp(props: SectionProperties): number; getHistoryItemConstructor(): SectionPropertiesHistoryItemType; getJSONProperty(): JSONSectionProperty; binaryEquals: EqualFunc; defaultValue: number; } export declare class SectionPropertiesStartTypeDescriptor implements ISectionPropertyDescriptor { setProp(props: SectionProperties, newValue: SectionStartType): void; getProp(props: SectionProperties): SectionStartType; getHistoryItemConstructor(): SectionPropertiesHistoryItemType; getJSONProperty(): JSONSectionProperty; binaryEquals: EqualFunc; defaultValue: SectionStartType; } export declare class SectionPropertiesLandscapeDescriptor implements ISectionPropertyDescriptor { setProp(props: SectionProperties, newValue: boolean): void; getProp(props: SectionProperties): boolean; getHistoryItemConstructor(): SectionPropertiesHistoryItemType; getJSONProperty(): JSONSectionProperty; binaryEquals: EqualFunc; defaultValue: boolean; } export declare class SectionPropertiesDifferentFirstPageDescriptor implements ISectionPropertyDescriptor { setProp(props: SectionProperties, newValue: boolean): void; getProp(props: SectionProperties): boolean; getHistoryItemConstructor(): SectionPropertiesHistoryItemType; getJSONProperty(): JSONSectionProperty; binaryEquals: EqualFunc; defaultValue: boolean; } export declare class SectionPropertiesPaperKindDescriptor implements ISectionPropertyDescriptor { setProp(props: SectionProperties, newValue: PaperKind): void; getProp(props: SectionProperties): PaperKind; getHistoryItemConstructor(): SectionPropertiesHistoryItemType; getJSONProperty(): JSONSectionProperty; binaryEquals: EqualFunc; defaultValue: PaperKind; } export declare class SectionPropertyDescriptor { static marginLeft: SectionPropertiesMarginLeftDescriptor; static marginTop: SectionPropertiesMarginTopDescriptor; static marginRight: SectionPropertiesMarginRightDescriptor; static marginBottom: SectionPropertiesMarginBottomDescriptor; static footerOffset: SectionPropertiesFooterOffsetDescriptor; static headerOffset: SectionPropertiesHeaderOffsetDescriptor; static columnCount: SectionPropertiesColumnCountDescriptor; static space: SectionPropertiesSpaceDescriptor; static equalWidthColumns: SectionPropertiesEqualWidthColumnsDescriptor; static columnsInfo: SectionPropertiesColumnsInfoDescriptor; static pageWidth: SectionPropertiesPageWidthDescriptor; static pageHeight: SectionPropertiesPageHeightDescriptor; static startType: SectionPropertiesStartTypeDescriptor; static landscape: SectionPropertiesLandscapeDescriptor; static differentFirstPage: SectionPropertiesDifferentFirstPageDescriptor; static paperKind: SectionPropertiesPaperKindDescriptor; static ALL_FIELDS: ISectionPropertyDescriptor[]; }