import { KosConfigProperty } from '../../models';

interface Props {
    configProperty?: KosConfigProperty<number>;
    is24Hr?: boolean;
}
interface DateRelative {
    hours: number;
    minutes: number;
    seconds: number;
    formattedTime: any;
    timeActions: {
        setHours: (hours: number) => void;
        setMinutes: (minutes: number) => void;
        setSeconds: (seconds: number) => void;
    };
}
interface DateRelativeDataProps {
    secondsFromMidnight?: number;
}
/**
 * Hook to convert seconds from midnight to a human readable time format
 *
 * The hook will use the time format based on the regional settings
 *
 * @param secondsFromMidnight - The number of seconds from midnight
 * @returns The hours, minutes, seconds, formatted time and actions to update the time
 */
export declare const useDateRelativeData: ({ secondsFromMidnight, }: DateRelativeDataProps) => {
    hours: number;
    minutes: number;
    seconds: number;
    formattedTime: string;
    timeActions: {
        setHours: import('react').Dispatch<import('react').SetStateAction<number>>;
        setMinutes: import('react').Dispatch<import('react').SetStateAction<number>>;
        setSeconds: import('react').Dispatch<import('react').SetStateAction<number>>;
    };
};
/**
 * Hook to translate date relative configuration properties to human readable time
 *
 * @param configProperty - The configuration property to use
 * @returns
 * @see useDateRelativeData
 */
export declare const useDateRelativeConfig: ({ configProperty, }: Props) => DateRelative;
export {};
//# sourceMappingURL=use-date-relative-prop.d.ts.map