/** * Shared cyclic-name series detection for the month and weekday detectors. * * Both patterns are "a rotating list of localized names" — only the table and * modulus differ — so the recognition and extrapolation logic lives here once. * It matches long or short names case-insensitively, preserves the source's * variant (full vs abbreviated) and casing, and wraps around the cycle. * * @packageDocumentation */ import type { AutoFillSeries } from '../detectors/pattern-detector'; import type { AutoFillValue } from '../types/autofill.types'; import type { NameTable } from './locale-names'; /** * Attempts to read `source` as a cyclic sequence of names from `table`. * * @param source - Ordered source values (length `>= 1`). * @param table - The locale's {@link NameTable}. * @param modulus - Cycle length (12 for months, 7 for weekdays). * @returns A series that emits localized names, or `null` if not all cells are * recognized names or the index step is not constant. */ export declare function detectCyclicNames(source: readonly AutoFillValue[], table: NameTable, modulus: number): AutoFillSeries | null; //# sourceMappingURL=cyclic-name-series.d.ts.map