import type { HeadingStyleConfig, ResolvedBodyTextConfig, ResolvedHeadingStyleConfig, ResolvedLayoutConfig, ResolvedOrderedListsConfig, ResolvedPageConfig, ResolvedUnorderedListsConfig } from '../types.js'; /** No heading styles ship by default — a document declares its own. */ export declare const DEFAULT_HEADING_STYLES: HeadingStyleConfig[]; export declare function resolveHeadingStylesConfig(partial: HeadingStyleConfig[] | undefined, page: ResolvedPageConfig, bodyText: ResolvedBodyTextConfig, unorderedLists: ResolvedUnorderedListsConfig, orderedLists: ResolvedOrderedListsConfig, /** The document's layout: a style's `layout.columnRule` takes the fields * it leaves unset from it. Without it they take the static defaults. */ layout?: ResolvedLayoutConfig): ResolvedHeadingStyleConfig[]; /** Drop unset fields and the static defaults (`numbered: true`, `toc: * true`, `runningChapter: true`, `sectionEnd: 'level'`, `name` equal to `id`, an empty * `palette`). Everything else a style sets is kept, since a style's * default is what it inherits and not a value of its own (#694): level * overrides, and the section fields even when they are empty. An empty * `header` or `footer` silences the document's running head or folio on * the style's pages (a cover, an opener), one that restates the built-in * slot replaces the document's own, and `margins: {}`, `layout: {}` and * `bodyStyle: {}` resolve to a section of their own. A slot in the * pre-placement shape is stored migrated. Returns `undefined` when no * styles remain. */ export declare function stripHeadingStylesDefaults(styles: HeadingStyleConfig[] | undefined): HeadingStyleConfig[] | undefined; //# sourceMappingURL=headingStyles.d.ts.map