/** * Detects `prefix + number + suffix` patterns and increments the numeric part, * preserving the prefix, suffix and zero-padded width. * * Examples: `Item001 → Item002`, `INV-001 → INV-002`, `Employee 10 → Employee 11`, * `A1B → A2B`. The *last* run of digits is treated as the counter, so trailing * suffixes are preserved. Widening is natural (`099 → 100`). * * Canonical plain numbers (`1, 2, 3`) are handled earlier by the numeric detector; * this detector deliberately runs after it and picks up the leading-zero and * affixed forms it leaves behind. * * @packageDocumentation */ import type { AutoFillPatternDetector, AutoFillSeries } from './pattern-detector'; import { AutoFillDetectorName } from './pattern-detector'; import type { AutoFillValue, DetectContext } from '../types/autofill.types'; export declare class TextNumberDetector implements AutoFillPatternDetector { readonly name = AutoFillDetectorName.TextNumber; detect(source: readonly AutoFillValue[], _ctx: DetectContext): AutoFillSeries | null; } //# sourceMappingURL=text-number-detector.d.ts.map