import { OnInit, OnDestroy, ChangeDetectorRef } from '@angular/core';
import { BaseResourceComponent } from '@memberjunction/ng-shared';
import { ResourceData, MJVersionLabelRestoreEntityType } from '@memberjunction/core-entities';
import * as i0 from "@angular/core";
export declare class VersionHistoryRestoreResourceComponent extends BaseResourceComponent implements OnInit, OnDestroy {
    private cdr;
    IsLoading: boolean;
    TotalRestores: number;
    SuccessfulRestores: number;
    FailedRestores: number;
    PartialRestores: number;
    Restores: MJVersionLabelRestoreEntityType[];
    FilteredRestores: MJVersionLabelRestoreEntityType[];
    StatusFilter: string;
    ExpandedRestoreId: string;
    private static readonly PREFS_KEY;
    private preferencesLoaded;
    private destroy$;
    constructor(cdr: ChangeDetectorRef);
    ngOnInit(): void;
    ngOnDestroy(): void;
    GetResourceDisplayName(data: ResourceData): Promise<string>;
    GetResourceIconClass(data: ResourceData): Promise<string>;
    LoadData(): Promise<void>;
    private computeStats;
    applyFilters(): void;
    OnStatusFilterChange(status: string): void;
    private loadUserPreferences;
    private persistPreferences;
    ToggleExpand(restoreId: string | undefined): void;
    IsExpanded(restoreId: string | undefined): boolean;
    GetStatusClass(status: string | undefined): string;
    GetStatusIcon(status: string | undefined): string;
    GetProgressPercent(restore: MJVersionLabelRestoreEntityType): number;
    FormatDate(date: Date | string | undefined): string;
    Refresh(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<VersionHistoryRestoreResourceComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<VersionHistoryRestoreResourceComponent, "mj-version-history-restore-resource", never, {}, {}, never, never, false, never>;
}
//# sourceMappingURL=restore-resource.component.d.ts.map