import { UptimeBarConfig, UptimeSegment } from './types';
export type { UptimeBarConfig, UptimeSegment, UptimeSegmentStatus } from './types';
export declare class UptimeBar {
    readonly el: HTMLDivElement;
    private readonly barId;
    private segmentsEl;
    private labelEl;
    private readonly showLabels;
    private readonly height;
    constructor(config: UptimeBarConfig);
    /** Replace all segments with a new set */
    setSegments(segments: UptimeSegment[]): void;
    /** Remove the element from the DOM and clean up */
    destroy(): void;
    private renderSegments;
    private buildClassName;
}
//# sourceMappingURL=index.d.ts.map