import { DateFormatPart } from '../types'; /** * Parses a date format string into structured parts with type info. * * Example: * dateFormat: "dd / MM / yyyy" * result: * [ * { length: 2, separator: ' / ', type: 'd' }, * { length: 2, separator: ' / ', type: 'm' }, * { length: 4, separator: '', type: 'y' }, * ] */ export default function parseFormatParts(dateFormat: string): DateFormatPart[];