/** Convert any Devanagari digits in the string to their ASCII equivalents. */ export declare function normalizeDigits(text: string): string; export interface TypedTokens { year: number; month: number; day: number; hour?: number; minute?: number; } /** Split a typed string into numeric parts without any calendar validation. * Returns `'empty'` for blank input and `null` for a shape that can't be a * date at all. Calendar-range validation is the caller's job. */ export declare function tokenizeTyped(text: string): TypedTokens | 'empty' | null; /** Reformat raw input into the masked `YYYY-MM-DD[ HH:mm]` shape as the user * types: keep only digits (normalizing Nepali → ASCII) and re-insert the fixed * separators. Extra digits past the template are dropped. */ export declare function maskTypedDate(text: string, withTime: boolean): string; /** Count the digit characters in a string (used for caret preservation). */ export declare function countDigits(text: string): number;