import type { PageConfig, ResolvedPageConfig, ResolvedPageNumberingConfig, PageSizePreset, Dimension, WritingMode } from '../types.js'; export declare const PAGE_SIZE_PRESETS: Record, { width: Dimension; height: Dimension; }>; export declare const DEFAULT_CUT_LINES: { enabled: boolean; bleed: { readonly value: 3; readonly unit: "mm"; }; markLength: { readonly value: 5; readonly unit: "mm"; }; markOffset: { readonly value: 3; readonly unit: "mm"; }; markWidth: { readonly value: 0.25; readonly unit: "pt"; }; color: { readonly hex: "#000000"; readonly model: "hex"; }; }; export declare const DEFAULT_PAGE_NUMBERING: ResolvedPageNumberingConfig; export declare const DEFAULT_PAGE_CONFIG: ResolvedPageConfig; /** The edge a book is bound on: `'auto'` (or anything unknown) is the * right edge in a vertical document (clreq §7.1.1.1), in a document * whose text runs right to left (`direction`, the resolved * `PostextConfig.direction`) and in a comic book read right to left * (`comicDirection`, see `comicReadingDirection`: a manga, a * Japanese or Traditional Chinese edition), else the left. * `comicDirection` is undefined in a document without a `comics` * section. */ export declare function resolvePageBinding(binding: PageConfig['binding'], writingMode?: WritingMode, direction?: 'ltr' | 'rtl', comicDirection?: 'ltr' | 'rtl'): 'left' | 'right'; /** A page config in full. `locale` (the document language) decides the * script of a page-number format written `一` or `壹`, and `writingMode` * (the document's `layout.writingMode`), `direction` (its resolved * `direction`) and `comicDirection` (the reading direction of its comics, * `comicReadingDirection`, when the config has a `comics` section) * what `binding: 'auto'` is. */ export declare function resolvePageConfig(partial?: PageConfig, locale?: string, writingMode?: WritingMode, direction?: 'ltr' | 'rtl', comicDirection?: 'ltr' | 'rtl'): ResolvedPageConfig; export declare function stripPageDefaults(page?: PageConfig): PageConfig | undefined; //# sourceMappingURL=page.d.ts.map