import { Editor } from '../../core/Editor.js'; /** Maps uppercase field type (e.g. 'NUMWORDS') to its fresh string value. */ export type StatFieldCacheMap = Map; /** * Computes fresh cached values for all document-statistic field types. * Returns a map from field type → fresh display value. * * Always resolves to the main body editor before computing stats, so this * function is safe to call with a header/footer sub-editor — it will still * return document-level counts. */ export declare function refreshAllStatFields(editor: Editor): StatFieldCacheMap; //# sourceMappingURL=refresh-stat-fields.d.ts.map