/**
 * @license
 * Copyright 2022-2026 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
import { Duration } from "./Duration.js";
import { Timestamp } from "./Timestamp.js";
/**
 * A period between two {@link Timestamp}s.
 */
export interface Timespan {
    start: Timestamp;
    stop: Timestamp;
    duration: Duration;
    from(newStart: Timestamp.Definition): Timespan;
    to(newStart: Timestamp.Definition): Timespan;
    valueOf(): {
        start: Timestamp;
        stop: Timestamp;
    };
}
/**
 * Create a new timespan representing time between {@link start} and {@link stop}.
 */
export declare function Timespan(start: Timestamp.Definition, stop: Timestamp.Definition): Timespan;
//# sourceMappingURL=Timespan.d.ts.map