import type { TableStyleConfig, ResolvedTableStyleConfig, NamedTableStyleConfig, ResolvedNamedTableStyleConfig, ResolvedBodyTextConfig } from '../types.js'; /** Default continuation strings for a (possibly regional) locale tag such * as `es-ES` or `pt_BR`, falling back to English. */ export declare function defaultTableContinuationStrings(locale?: string): { continuedSuffix: string; continuesMarker: string; }; /** Resolve a partial table-style config into a fully-specified one. Font * family, size, and colour inherit the resolved body text when unset, so a * document with no table config renders exactly as before. */ export declare function resolveTableStyleConfig(partial: TableStyleConfig | undefined, bodyText: ResolvedBodyTextConfig, locale?: string): ResolvedTableStyleConfig; /** Drop fields equal to their static default. Font/colour fields inherit the * body text (no static default to compare against), so they are kept whenever * explicitly set — that is the intended override. Returns `undefined` when * nothing remains. */ export declare function stripTableStyleDefaults(tableStyle: TableStyleConfig | undefined): TableStyleConfig | undefined; /** Resolve the named table styles: each one is laid over the document's * `tableStyle` partial and resolved like it, so an unset field reads the * global table style first and the body text after that. */ export declare function resolveTableStylesConfig(styles: NamedTableStyleConfig[] | undefined, base: TableStyleConfig | undefined, bodyText: ResolvedBodyTextConfig, locale?: string): ResolvedNamedTableStyleConfig[]; /** Drop unset fields and a `name` equal to the `id`. Unlike * {@link stripTableStyleDefaults}, a field equal to its static default is * kept: a named style inherits the global `tableStyle`, so `borders: true` * still matters when the global style turns borders off. Returns * `undefined` when no styles remain. */ export declare function stripTableStylesDefaults(styles: NamedTableStyleConfig[] | undefined): NamedTableStyleConfig[] | undefined; /** The resolved style a table resource is set in: the named style its * `table.styleId` selects, else the document's `tableStyle`. */ export declare function pickTableStyle(resolved: { tableStyle: ResolvedTableStyleConfig; tableStyles?: readonly ResolvedNamedTableStyleConfig[]; }, styleId: string | undefined): ResolvedTableStyleConfig; //# sourceMappingURL=tableStyle.d.ts.map