import type { AgentExecution } from "@stigmer/protos/ai/stigmer/agentic/agentexecution/v1/api_pb";
import type { ApplyResourceResult } from "../../library/useApplyResource.js";
export interface ArtifactsTabProps {
    readonly executions: readonly AgentExecution[];
    readonly org: string;
    readonly onApplied?: (result: ApplyResourceResult) => void;
    /**
     * Implement a plan. When provided, the preview of a `plan.md` artifact
     * shows an Implement action (turn the plan into an Agent run) — the same
     * action as the message-thread plan card.
     */
    readonly onImplementPlan?: () => void;
    /**
     * Open a plan in the session panel's plan document tab. When provided, a
     * `plan.md` artifact routes there instead of the preview modal — the plan
     * is a first-class document, not a popup. Non-plan artifacts keep the
     * modal. When omitted (hosts without the plan tab) the modal remains for
     * every artifact.
     */
    readonly onOpenPlan?: (executionId: string) => void;
}
/**
 * Artifacts facet for the session panel (a `useSessionRailViews` rail view).
 *
 * Wraps `useSessionArtifacts` → `ArtifactCard` list with
 * `ArtifactPreviewModal` — the same content as `ArtifactsWidget`
 * without the section heading.
 */
export declare function ArtifactsTab({ executions, org, onApplied, onImplementPlan, onOpenPlan, }: ArtifactsTabProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=ArtifactsTab.d.ts.map