type ParseDateResult = { isValid: boolean; result: Date | undefined; }; /** * Shared date parsing utility that supports both Japanese era formats and Western calendar formats * * Note: Uses non-strict parsing for Western calendar formats, allowing flexible delimiters. * For example, both "2025-12-24" and "2025/12/24" are valid for format "YYYY-MM-DD". * * Also supports formats without delimiters as fallbacks because dayjs does not support them natively: * - YYYYMMDD format (8-digit number): "20251215" can be parsed even when format is "YYYY-MM-DD" * - YYYYMM format (6-digit number): "202512" can be parsed even when format is "YYYY-MM" * * @param inputString - The input string to parse * * @param format - The dayjs format to use for Western calendar parsing * * @returns Object with isValid flag and parsed Date result */ export declare function parseInputDate(inputString: string, format: string): ParseDateResult; /** * Convenience function that returns the parsed Date directly or null * * This is useful for cases where you only need the Date result * * @param inputString - The input string to parse * * @param format - The dayjs format to use for Western calendar parsing * * @returns Parsed Date or null if invalid */ export declare function parseInputDateSimple(inputString: string, format: string): Date | null; export {};