/**
 * Copyright 2023-present DreamNum Co., Ltd.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
import type { IDocumentStyle, ISectionBreak, ISectionColumnProperties, PageOrientType } from '@univerjs/core';
export interface IEffectiveSectionPageSetup {
    pageSize: {
        width: number;
        height: number;
    };
    pageOrient: PageOrientType;
    margins: {
        top: number;
        bottom: number;
        left: number;
        right: number;
    };
    contentSize: {
        width: number;
        height: number;
    };
    pageNumberStart?: number;
}
/** Resolves nominal traditional page geometry without requiring a renderer. */
export declare function getEffectiveSectionPageSetup(documentStyle: IDocumentStyle | undefined, section: ISectionBreak | undefined): IEffectiveSectionPageSetup;
/** Returns the usable horizontal layout width for a traditional section. */
export declare function getSectionContentWidth(documentStyle: IDocumentStyle | undefined, section: ISectionBreak | undefined): number;
/** Creates explicit OOXML section columns from a count, gap, and optional widths. */
export declare function createSectionColumnProperties(documentStyle: IDocumentStyle | undefined, section: ISectionBreak | undefined, columnCount: number, gap: number, widths?: number[]): ISectionColumnProperties[];
