/**
 * @function formatHours
 * @description
 * Formats a decimal number representing hours into a formatted string (HH:MM).
 * The input can be a number, string, or undefined. The function handles various formats
 * and can optionally add a leading zero to the hours component.
 *
 * @param {number | string | undefined} num - The input representing the hours, which can be in decimal format, a time string, or undefined.
 * @param {boolean} [withLeadingZeroHours=false] - Whether to add a leading zero to the hours part of the output.
 * @param {boolean} [trimZeroMinutes=false] - Whether to remove minutes if they are zero.
 *
 * @returns {string} - A formatted time string in HH:MM format.
 *
 * @example
 * formatHours(1.5) // "1:30"
 * formatHours("3.5", true) // "03:30"
 */
export declare const formatHours: (num: number | string | undefined, withLeadingZeroHours?: boolean, trimZeroMinutes?: boolean) => string;
export declare const withLeadingZero: (num: string | number, size?: number) => string;
export declare const isDecimal: (num: number) => boolean;
export declare const isValidTime: (time: string | undefined) => boolean;
//# sourceMappingURL=timeUtils.d.ts.map