import type { AgentExecution } from "@stigmer/protos/ai/stigmer/agentic/agentexecution/v1/api_pb";
import { type SetupTabProps } from "./SetupTab";
import { type WorkspaceTabProps } from "./WorkspaceTab";
import type { SelectedThreadItem } from "../../internal/store/selection-store";
import type { ApplyResourceResult } from "../../library/useApplyResource";
/** Props for {@link SessionInspector}. */
export interface SessionInspectorProps {
    /**
     * The most relevant execution — the active streaming execution,
     * or the last completed one. Drives the run-status header and
     * the Plan facet.
     */
    readonly displayExecution: AgentExecution | null;
    /**
     * All executions in the session (completed + active stream).
     * Drives aggregation hooks for Changes, Artifacts, and Usage.
     */
    readonly allExecutions: readonly AgentExecution[];
    /** Organization slug for artifact Apply CTA. */
    readonly org: string;
    /** Currently selected thread item, or null. */
    readonly selectedItem: SelectedThreadItem | null;
    /** Called after a resource is applied from the Artifacts tab. */
    readonly onApplied?: (result: ApplyResourceResult) => void;
    /**
     * Session-level configuration for the Configure tab.
     * Includes core config fields and optional interactive
     * mutation callbacks. When mutation callbacks are absent,
     * sections render read-only (DD-011 backward compatibility).
     */
    readonly sessionConfig?: SetupTabProps;
    /**
     * Workspace tab configuration. When provided, the Workspace tab
     * renders interactive workspace actions (add/remove entries, file
     * tree browsing). When absent, the tab shows an empty state.
     */
    readonly workspaceConfig?: WorkspaceTabProps;
    /** Additional CSS classes. */
    readonly className?: string;
}
/**
 * Tabbed right-side inspector panel for agent sessions.
 *
 * Displays an always-visible run-status header (phase badge) above
 * contextual tabs: Plan, Changes, Artifacts, Usage, and Inspect
 * (when a thread item is selected).
 *
 * Mirrors the `ExecutionInspector` architecture from the workflow
 * view — same `Tabs` primitive, same tab-FSM behavior hook, same
 * contextual visibility pattern.
 *
 * `React.memo`'d to prevent re-renders from parent layout changes
 * that don't affect inspector data.
 *
 * All visual properties flow through `--stgm-*` tokens. Zero
 * Console/Next/Tauri dependencies (DD-004).
 */
export declare const SessionInspector: import("react").NamedExoticComponent<SessionInspectorProps>;
//# sourceMappingURL=SessionInspector.d.ts.map