import type { SerializedTheTime } from "./types"; declare const TheTime_base: new (params?: { "@DuplojsUtilsDate/the-time"?: unknown; } | undefined) => import("../common/kind").Kind, unknown> & import("../common/kind").Kind, unknown>; /** * Represents an immutable signed time value object (`TheTime`) stored in milliseconds. * * Signature: `TheTime` → immutable class-like value object * * `TheTime` solves unit-fragmentation issues (`hours`, `minutes`, `seconds`) by using a single safe millisecond representation while keeping strong typing and explicit serialization. * * ```ts * const theTime = D.createTime(2, "hour"); * // theTime: TheTime * * const timeValue = theTime.toNative(); * // timeValue: number * * const serialized = D.serialize(theTime); * // serialized: SerializedTheTime * * const date = D.create("2025-10-20"); * const dateWithDuration = D.addTime(date, theTime); * // dateWithDuration: TheDate * * const threeHours = D.createTime(3, "hour"); * // threeHours: TheTime * * const asMilliseconds = D.toTimeValue(theTime); * // asMilliseconds: number * ``` * * @remarks * - `TheTime` is not a `number`, but it behaves as an immutable numeric time value. * - `TheTime` supports negative values and is not an absolute value by default. * - Date unit operators (`addMinutes`, `subtractDays`, etc.) target `TheDate`; `TheTime` is used as a normalized duration value. * - Use `D.serialize(theTime)` to convert to `SerializedTheTime`. * - Use `D.createTime(...)` / `D.createTimeOrThrow(...)` to construct instances. * * @see https://utils.duplojs.dev/en/v1/api/date/theTime * @see https://utils.duplojs.dev/en/v1/api/date/serialize * @see https://utils.duplojs.dev/en/v1/api/date/createTime * * @namespace D * */ export declare class TheTime extends TheTime_base { private timeValue; private constructor(); toNative(): number; toString(): SerializedTheTime; toJSON(): SerializedTheTime; } export {};