import { Temporal, Components, TimeDelta, TimeUnit } from './types'; import { ZoneOffset } from './Zone'; import { Clock } from './Clock'; import { CivilDate } from './CivilDate'; import { CivilDateTime } from './CivilDateTime'; import { OffsetTime } from './OffsetTime'; import { Duration } from './Duration'; import { Equatable, Comparable } from '@esfx/equatable'; export declare class CivilTime implements Temporal, Equatable, Comparable { static readonly START_OF_DAY: CivilTime; static readonly END_OF_DAY: CivilTime; constructor(hour: number, minute: number, second?: number, millisecond?: number, nanosecond?: number); readonly hour: number; readonly minute: number; readonly second: number; readonly millisecond: number; readonly nanosecond: number; plus(deltas?: Components): CivilTime; minus(deltas?: Components): CivilTime; with(components?: Components): CivilTime; withDate(date: CivilDate): CivilDateTime; withOffset(offset: ZoneOffset): OffsetTime; until(other: CivilTime): Duration; since(other: CivilTime): Duration; toString(): string; toISOString(): string; toJSON(): string; equals(other: CivilTime): boolean; compareTo(other: CivilTime): number; /** * Creates a CivilTime from the provided time components. */ static fromTime(hour: number, minute: number, second?: number, millisecond?: number, nanosecond?: number): CivilTime; /** * Creates a CivilTime from the number of milliseconds since the start of the day. */ static fromMilliseconds(milliseconds: number, nanosecond?: number): CivilTime; /** * Creates a CivilTime from the number of nanoseconds since the start of the day. */ static fromNanoseconds(nanoseconds: bigint): CivilTime; static fromString(text: string): CivilTime; static now(clock: Clock): CivilTime; [Equatable.equals](other: unknown): boolean; [Equatable.hash](): number; [Comparable.compareTo](other: unknown): number; }