import { EpochId } from "./epochid";
export declare class Epoch {
    static fromPlain(o: unknown): Epoch | null;
    readonly id: EpochId;
    readonly parentId?: EpochId;
    constructor(id: EpochId, parentId?: EpochId);
    /**
     * Check if two instances of epochs are equal
     *
     * @param {Epoch} other The other epoch to which to compare
     * @return {boolean} Are the two epochs equal
     */
    equals(other: Epoch): boolean;
}
