import { OnChanges, SimpleChanges } from '@angular/core';
import { IRunViewProvider } from '@memberjunction/core';
import { IntegrationRunRow, RunDetailRow } from '../../services/integration-data.service';
import * as i0 from "@angular/core";
type RunStatusColorType = 'amber' | 'green' | 'red';
export declare class RunHistoryPanelComponent implements OnChanges {
    CompanyIntegrationID: string | null;
    ViewProvider: IRunViewProvider | null;
    Runs: IntegrationRunRow[];
    RunDetails: RunDetailRow[];
    SelectedRunID: string | null;
    IsLoading: boolean;
    IsLoadingDetails: boolean;
    ShowErrorLog: boolean;
    private dataService;
    ngOnChanges(changes: SimpleChanges): void;
    LoadRuns(): Promise<void>;
    OnRunClick(run: IntegrationRunRow): Promise<void>;
    IsSelectedRun(id: string): boolean;
    StatusColor(run: IntegrationRunRow): RunStatusColorType;
    StatusIcon(run: IntegrationRunRow): string;
    FormatDate(dateStr: string | null): string;
    FormatDuration(run: IntegrationRunRow): string;
    ToggleErrorLog(event: Event): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<RunHistoryPanelComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<RunHistoryPanelComponent, "app-run-history-panel", never, { "CompanyIntegrationID": { "alias": "CompanyIntegrationID"; "required": false; }; "ViewProvider": { "alias": "ViewProvider"; "required": false; }; }, {}, never, never, false, never>;
}
export {};
//# sourceMappingURL=run-history-panel.component.d.ts.map