import type { Dimension, ResolvedBodyTextConfig, ResolvedTocConfig, TocConfig, TocGroupHead } from '../types.js'; /** Static defaults of the `toc` section. Typography inherits the body text * at resolve time; the part row height defaults to `2em` of the body size * (EF-119), not two body lines. */ export declare const DEFAULT_TOC_CONFIG: { levels: number[]; leader: { enabled: boolean; char: string; gap: Dimension; }; pageNumber: { width: Dimension; }; subtitle: { enabled: boolean; attr: string; }; parts: { enabled: boolean; breakBefore: boolean; }; groups: { keepTogether: boolean; head: TocGroupHead; minEntriesAfterHead: number; continuation: { enabled: boolean; }; }; }; /** A `toc.groups.head` value as written (`'part'`, `1`…`6`, or the same as * a string: a directive's `keep="2"`), else undefined. */ export declare function parseTocGroupHead(value: unknown): TocGroupHead | undefined; /** The default continuation mark of a contents block in `locale`: the * continued-table suffix of that language ("(cont.)", "(suite)", * "(续)"…). */ export declare function defaultTocContinuationMark(locale?: string): string; export declare function resolveTocConfig(partial: TocConfig | undefined, bodyText: ResolvedBodyTextConfig, locale?: string): ResolvedTocConfig; /** Drop unset fields and the static defaults. Inherited typography is kept * whenever set. Returns `undefined` when nothing remains. */ export declare function stripTocDefaults(toc: TocConfig | undefined): TocConfig | undefined; //# sourceMappingURL=toc.d.ts.map