import { LitElement, TemplateResult, PropertyValues, nothing } from 'lit';
import { IProjectExecutionIteration, IProjectExecutionLog, IRequestLog } from '@api-client/core/build/browser.js';
import { RequestLogView } from '../http/RequestLog.js';
import type { ISegmentedButtonSelectionDetail } from '../../ui/button/SegmentedButtonsSet.js';
import '@github/relative-time-element';
import '../../define/http/http-request-log.js';
import '../../define/ui/ui-icon.js';
import '../../define/ui/ui-button.js';
import '../../define/ui/ui-dropdown-list.js';
import '../../define/ui/ui-list.js';
import '../../define/ui/ui-list-item.js';
import '../../define/ui/ui-segmented-button.js';
import '../../define/ui/ui-segmented-button-set.js';
export declare enum ProjectRunReportView {
    summary = "summary",
    details = "details"
}
/**
 * An element that renders the execution log of the project runner with the IProjectExecutionLog.
 */
export default class ProjectRunReport extends LitElement {
    report?: IProjectExecutionLog;
    /**
     * The index of the selected iteration, if any.
     */
    protected selectedIteration?: number;
    /**
     * The index of the selected request, if any
     */
    protected selectedRequest?: number;
    /**
     * The currently rendered iteration.
     */
    protected currentIteration?: IProjectExecutionIteration;
    protected currentLog?: IRequestLog;
    protected view: ProjectRunReportView;
    protected willUpdate(cp: PropertyValues<this>): void;
    protected processReport(): void;
    protected handleIterationSelection(e: CustomEvent): void;
    selectIteration(index: number): void;
    protected handleRequestSelection(e: CustomEvent): void;
    selectRequest(index: number): void;
    protected handleViewSelection(e: CustomEvent<ISegmentedButtonSelectionDetail>): void;
    protected handleLinkClick(e: Event): void;
    protected handleLinkKeyDown(e: KeyboardEvent): void;
    protected selectLogView(view: RequestLogView): Promise<void>;
    protected render(): TemplateResult;
    protected renderHeader(report: IProjectExecutionLog): TemplateResult;
    protected renderCurrentSelectors(report: IProjectExecutionLog): TemplateResult | typeof nothing;
    protected renderViewToggle(): TemplateResult;
    protected renderInteractionsList(iterations: IProjectExecutionIteration[]): TemplateResult;
    protected renderIterationOption(index: number): TemplateResult;
    protected renderRequestsList(): TemplateResult;
    protected renderEmptyRequestsList(): TemplateResult;
    protected renderRequestsOption(item: IRequestLog, index: number): TemplateResult;
    protected renderView(): TemplateResult;
    protected renderLog(): TemplateResult;
    protected renderSummary(): TemplateResult;
    protected renderIterationSummary(iteration: IProjectExecutionIteration): TemplateResult;
    protected renderIterationError(): TemplateResult;
    protected renderIterationSummaryTable(iterationIndex: number, executed: IRequestLog[]): TemplateResult;
    renderSummaryTableRow(item: IRequestLog, iterationIndex: number, requestIndex: number): TemplateResult;
}
//# sourceMappingURL=ProjectRunReport.d.ts.map