export declare class TimeOnly {
    static readonly MIN_TOTAL_MILLIS = 0;
    static readonly MAX_TOTAL_MILLIS = 86400000;
    /**
     * The integer "hours" part. Ranges from 0 to 23.
     */
    get hours(): number;
    /**
     * The integer "minutes" part. Ranges from 0 to 59.
     */
    get minutes(): number;
    /**
     * The integer "seconds" part. Ranges from 0 to 59.
     */
    get seconds(): number;
    /**
     * The integer "milliseconds" part. Ranges from 0 to 999;
     */
    get milliseconds(): number;
    /**
     * The total amount of time in hours. Ranges from 0 to (24 - Number.MIN_SAFE_INTEGER).
     */
    get totalHours(): number;
    /**
     * The total amount of time in minutes. Ranges from 0 to (1440 - Number.MIN_SAFE_INTEGER).
     */
    get totalMinutes(): number;
    /**
     * The total amount of time in seconds. Ranges from 0 to (86400 - Number.MIN_SAFE_INTEGER).
     */
    get totalSeconds(): number;
    /**
     * The total amount of time in hours. Ranges from 0 to (86400000 - Number.MIN_SAFE_INTEGER).
     */
    readonly totalMilliseconds: number;
    /**
     * Creates a higher level representation of a 24-hour based time measurement.
     *
     * @param milliseconds The millisecond part of the time to represent.
     * @param seconds The "seconds" part of the time to represent.
     * @param minutes The "minutes" part of the time to represent.
     * @param hours The "hours" part of the time to represent.
     */
    constructor(milliseconds: number, seconds?: number, minutes?: number, hours?: number);
}
