import dayjs, { Dayjs } from 'dayjs'; import { VariantProps, FormRenderProps } from '../Interface/FormInterface'; /** * Renders a form input label with an optional required asterisk. * * @param {VariantProps} variant - The variant type of the form input. * @param {FormRenderProps} props - The properties for rendering the form input. * @param {boolean} [showLabel=false] - Whether to always show the label. * @returns {JSX.Element | false} The rendered label element or false if not shown. */ export declare const renderLabel: (variant: VariantProps, props: FormRenderProps, showLabel?: boolean) => false | import("react/jsx-runtime").JSX.Element; /** * Formats a date string in "M/YYYY" or "MM/YYYY" format to "MM/01/YYYY". * * @param {string} date - The date string to format. * @returns {string} The formatted date string with day set to '01'. * @throws {TypeError} If the input is not a string. */ export declare function formatDateMonthAndYear(date: any): string; /** * Parses a custom time string in "HH:mm:ss.SSS" format into a Dayjs object. * * @param {string} timeString - The custom time string to parse. * @returns {Dayjs | null} The parsed Dayjs object, or null if input is empty. */ export declare function parseCustomTime(timeString: string): dayjs.Dayjs | null; /** * Formats a Dayjs object into a custom time string "HH:mm:ss.SSSSSSS". * * @param {Dayjs | null | undefined} date - The Dayjs object to format. * @returns {string} The formatted time string, or an empty string if invalid. */ export declare function formatDayjsToCustomTime(date: Dayjs | null | undefined): string; /** * Extracts and formats a date string into "DD/MM/YYYY". * * @param {string | any} inputDateString - The input date string or value. * @returns {string} The formatted date string, or an empty string if input is falsy. */ export declare const extractDate: (inputDateString: string | any) => string;