import type { DateFieldValue } from "./types.js";
export declare const splitIso8601DateTime: (isoString: string) => {
    date: string;
    time: string;
};
export declare const getDateFromValue: (value: DateFieldValue) => string;
export declare const getTimeFromValue: (value: DateFieldValue) => string;
export declare const formatDateToValue: (inputDate: Date) => string;
/**
 * Convert a date string to an ISO date string (YYYY-MM-DD format)
 * @param inputString - The date string to convert
 * @param dateFormat - The date format to use
 * @returns The ISO date string
 * @example
 * // MM/dd/yyyy format
 * convertToISODateFormat('12/25/2023') // returns '2023-12-25'
 *
 * // dd/MM/yyyy format
 * convertToISODateFormat('25/12/2023') // returns '2023-12-25'
 *
 * // dd-MMM-yyyy format
 * convertToISODateFormat('25-Dec-2023') // returns '2023-12-25'
 *
 * // Invalid date
 * convertToISODateFormat('invalid') // returns 'invalid'
 */
export declare const convertToISODateFormat: (inputString: string, dateFormat?: string) => string;
/**
 * Convert a date string to an ISO date string (YYYY-MM-DD format)
 * @param inputString - The date string to convert
 * @returns The ISO date string
 */
export declare const formatDateToValidCalendarDateFormat: (inputString: string) => string;
/**
 * Formats a UTC Date object into an ISO 8601 string (yyyy-MM-dd)
 * @param date - Date object in UTC time
 * @returns Formatted date string in ISO 8601 format
 * @example
 * formatUTCDateToISOString(new Date('2023-03-05T00:00:00Z')) // returns '2023-03-05'
 * formatUTCDateToISOString(new Date('2023-12-01T00:00:00Z')) // returns '2023-12-01'
 */
export declare const formatUTCDateToISOStringWithOutTime: (date: Date) => string;
/**
 * Swaps the day and month in a date string
 * @param utcDate - The date to swap the day and month in
 * @param separator - The separator to use between the day, month, and year
 * @returns The date string with the day and month swapped
 */
export declare function swapAmbiguousDayMonthFormat(utcDate: Date, separator: string): string;
/**
 * Checks if letter input should be disabled based on the date format.
 * For specific formats ('yyyy-MM-dd', 'dd/MM/yyyy', 'MM/dd/yyyy'), letter input is not allowed
 * as these formats only accept numeric values.
 *
 * @param internalFormat - The internal date format being used
 * @param inputValue - The current input value
 * @returns True if letter input should be disabled (when using numeric-only formats), false otherwise
 * @example
 * isFormatDisabled('yyyy-MM-dd', 'abc') // returns true - letters not allowed
 * isFormatDisabled('dd-MMM-yyyy', 'Jan') // returns false - letters allowed for month names
 */
export declare const isFormatDisabled: (internalFormat: string | undefined, inputValue?: string) => boolean | "";
//# sourceMappingURL=utils.d.ts.map