import type { Dimension, IndexConfig, IndexGroupBy, ResolvedBodyTextConfig, ResolvedIndexConfig } from '../types.js'; /** Static defaults of the `index` section (#165). Typography inherits the * body text at resolve time; the labels follow the document language. */ export declare const DEFAULT_INDEX_CONFIG: { indent: Dimension; turnoverIndent: Dimension; entrySpacing: Dimension; separator: string; locatorSeparator: string; rangeSeparator: string; mergeRanges: boolean; rangeFormat: "full"; main: { bold: boolean; italic: boolean; }; see: { italic: boolean; separator: string; }; groupBy: IndexGroupBy; groups: { enabled: boolean; fontWeight: number; splitMinEntries: number; }; }; /** `documentLocale` is the document language (`resolvedLocale`): with the * index's own `locale`, it decides the defaults of an Arabic index (see * {@link languageDefaults}). */ export declare function resolveIndexConfig(partial: IndexConfig | undefined, bodyText: ResolvedBodyTextConfig, documentLocale?: string): ResolvedIndexConfig; /** Drop unset fields and the static defaults. Returns `undefined` when * nothing remains. `ignoreArticle` is kept whenever it is set: its default * depends on the language. `documentLocale` is the document language, as * for {@link resolveIndexConfig}: the separators and the italics of the * cross-reference labels are kept where the static default is not the * default of the index's language (`', '` in an Arabic index, `see.italic: * true` in an Arabic or Japanese one, #651; `see.separator: '. '` in a * French one, #836). */ export declare function stripIndexDefaults(index: IndexConfig | undefined, documentLocale?: string): IndexConfig | undefined; //# sourceMappingURL=indexConfig.d.ts.map