import { DateFormatPart } from '../../date-picker/types'; /** * Formats input string to match date range format pattern as user types * Extracts numeric characters and progressively formats them as "from - to" * @example * formatRangeInputAsTyping("0112202508122025", "dd / MM / yyyy") -> "01 / 12 / 2025 - 08 / 12 / 2025" * formatRangeInputAsTyping("01122025", "dd / MM / yyyy") -> "01 / 12 / 2025" * formatRangeInputAsTyping("011220250812", "dd / MM / yyyy") -> "01 / 12 / 2025 - 08 / 12" */ export default function formatRangeInputAsTyping(value: string, formatParts: DateFormatPart[]): string;