import { z } from 'zod';
export declare const DurationSchema: z.ZodNumber;
export declare class Duration {
    private readonly milliseconds;
    private constructor();
    static fromMilliseconds(ms: number): Duration;
    static fromSeconds(seconds: number): Duration;
    static fromMinutes(minutes: number): Duration;
    static zero(): Duration;
    get ms(): number;
    get seconds(): number;
    get minutes(): number;
    get formatted(): string;
    add(other: Duration): Duration;
    subtract(other: Duration): Duration;
    isGreaterThan(other: Duration): boolean;
    equals(other: Duration): boolean;
    toJSON(): number;
    toString(): string;
}
//# sourceMappingURL=duration.valueObject.d.ts.map