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