/**
 * @fileoverview Archive Runs Resource Component
 *
 * Dashboard resource wrapper for the "Run History" tab in the Archiving application.
 * Delegates all rendering to the reusable mj-archive-run-viewer component from
 * @memberjunction/ng-archive-manager.
 *
 * Beyond rendering, this wrapper reports a READ-ONLY summary of the archive run
 * history to the AI agent (outcome counts, active status filter, which run's
 * detail drawer is open) and exposes read-only filter/refresh/view tools. The
 * inner run viewer publishes its loaded runs (`Runs`) and an `OpenRunDrawer`
 * method that this wrapper drives for the view-detail tool.
 *
 * 🔒 SAFETY BOUNDARY (READ-ONLY / VIEW-ONLY): this surface NEVER exposes run
 * execution or mutation to the agent. The following are intentionally NOT wired
 * as client tools: RunArchiveNow / execute, CancelRunningArchive,
 * RetryFailedArchiveRun, PurgeArchivedData, and ModifyArchivePolicy. The agent
 * may only filter, refresh, and open a run's detail drawer (by ID or
 * configuration/policy name) for inspection. SelectRun / ViewArchiveRunDetail
 * open the drawer for VIEWING only — they perform no execution or mutation.
 */
import { AfterViewInit, OnDestroy } from '@angular/core';
import { ResourceData } from '@memberjunction/core-entities';
import { BaseResourceComponent } from '@memberjunction/ng-shared';
import * as i0 from "@angular/core";
export declare class ArchiveRunsResourceComponent extends BaseResourceComponent implements AfterViewInit, OnDestroy {
    /** Reference to the inner run viewer — source of loaded runs + the detail drawer. */
    private runViewer?;
    /** Wrapper-owned status filter (defaults to no filter). */
    private statusFilter;
    ngAfterViewInit(): void;
    ngOnDestroy(): void;
    GetResourceDisplayName(_data: ResourceData): Promise<string>;
    GetResourceIconClass(_data: ResourceData): Promise<string>;
    /**
     * Publish the current run-history summary to the AI agent. Read-only —
     * describes outcome counts, the active filter, and which run (if any) is open.
     */
    private publishAgentContext;
    /**
     * The runs currently loaded in the inner viewer, narrowed to the
     * {@link ArchiveRunSnapshot} shape the pure helpers consume. The viewer's
     * `ArchiveRunSummary` is structurally compatible (ID · ConfigurationName ·
     * Status); this keeps the cast in one place.
     */
    private loadedRuns;
    /**
     * Register the read-only client tools for this surface.
     *
     * 🔒 Filter / refresh / view-detail only. No run execution, cancellation,
     * retry, or purge is exposed (see SAFETY BOUNDARY).
     */
    private registerAgentClientTools;
    /** Apply a status filter (wrapper-owned) and re-publish context. Never throws. */
    private toolFilterByStatus;
    /**
     * Refresh the run history. The inner viewer loads its data in ngOnInit and
     * exposes no public reload, so the wrapper re-publishes the latest context
     * from the inner viewer's current state. Never throws.
     */
    private toolRefreshRunHistory;
    /**
     * Open the detail drawer for a run by ID or configuration/policy name
     * (view-only). Accepts the agent's `run` parameter and resolves it via the
     * pure {@link resolveArchiveRun} helper (exact ID → exact name → name-contains).
     * Never throws.
     */
    private toolViewRunDetail;
    static ɵfac: i0.ɵɵFactoryDeclaration<ArchiveRunsResourceComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<ArchiveRunsResourceComponent, "app-archive-runs-resource", never, {}, {}, never, never, false, never>;
}
export declare function LoadArchiveRunsResource(): void;
//# sourceMappingURL=archive-runs-resource.component.d.ts.map