import { FooterWrapper } from "../../../footer-wrapper"; import { HeaderWrapper } from "../../../header-wrapper"; import { VerticalAlign } from "../../../vertical-align"; import { XmlComponent } from "../../../xml-components"; import { IColumnsAttributes } from "./properties/columns"; import { IDocGridAttributesProperties } from "./properties/doc-grid"; import { ILineNumberAttributes } from "./properties/line-number"; import { IPageBordersOptions } from "./properties/page-borders"; import { IPageMarginAttributes } from "./properties/page-margin"; import { IPageNumberTypeAttributes } from "./properties/page-number"; import { IPageSizeAttributes, PageOrientation } from "./properties/page-size"; import { SectionType } from "./properties/section-type"; export interface IHeaderFooterGroup { readonly default?: T; readonly first?: T; readonly even?: T; } export interface ISectionPropertiesOptions { readonly page?: { readonly size?: IPageSizeAttributes; readonly margin?: IPageMarginAttributes; readonly pageNumbers?: IPageNumberTypeAttributes; readonly borders?: IPageBordersOptions; }; readonly grid?: IDocGridAttributesProperties; readonly headerWrapperGroup?: IHeaderFooterGroup; readonly footerWrapperGroup?: IHeaderFooterGroup; readonly lineNumbers?: ILineNumberAttributes; readonly titlePage?: boolean; readonly verticalAlign?: VerticalAlign; readonly column?: IColumnsAttributes; readonly type?: SectionType; } export declare const sectionMarginDefaults: { TOP: string; RIGHT: string; BOTTOM: string; LEFT: string; HEADER: number; FOOTER: number; GUTTER: number; }; export declare const sectionPageSizeDefaults: { WIDTH: number; HEIGHT: number; ORIENTATION: PageOrientation; }; export declare class SectionProperties extends XmlComponent { constructor({ page: { size: { width, height, orientation, }, margin: { top, right, bottom, left, header, footer, gutter, }, pageNumbers, borders, }, grid: { linePitch }, headerWrapperGroup, footerWrapperGroup, lineNumbers, titlePage, verticalAlign, column, type, }?: ISectionPropertiesOptions); private addHeaderFooterGroup; }