import { TemplateResult } from 'lit';
import { type IHttpHistory } from '@api-client/core/models/HttpHistory.js';
declare const chartStyles: import("lit").CSSResult;
export { chartStyles };
declare const DaySeparatorKind = "Chart#DaySeparator";
declare const EntryKind = "Chart#Entry";
interface IDaySeparator {
    kind: typeof DaySeparatorKind;
    label: string;
}
interface IEntry {
    kind: typeof EntryKind;
    /**
     * Request duration.
     */
    d: number;
    /**
     * Request size
     */
    res: number;
    /**
     * Response size
     */
    rps: number;
    /**
     * The log created time
     */
    t: number;
}
type DataEntry = IEntry | IDaySeparator;
export declare class HttpHistoryChart {
    protected data: IHttpHistory[][];
    protected _topDuration: number;
    protected _topRequestSize: number;
    protected _topResponseSize: number;
    /**
     * The ordered from the oldest to the newest history data.
     */
    protected _values: DataEntry[];
    /**
     * @param data Sorted history data. Each array item is a group if requests made that day.
     */
    constructor(data: IHttpHistory[][]);
    /**
     * Normalizes the data, formats the labels and sets the `_values` array.
     */
    protected _analyze(): void;
    /**
     * Creates a plot for the request duration.
     */
    durationPlot(): TemplateResult;
    private _durationRows;
    private _durationChart;
    private _durationColumns;
    private _durationItem;
    private _durationDaySeparatorItem;
    private _durationEntryItem;
    private _durationColumn;
}
//# sourceMappingURL=HttpHistoryChart.d.ts.map