import { ApiResourceVisibility } from "@stigmer/protos/ai/stigmer/commons/apiresource/enum_pb";
/** Props for {@link AgentDetailView}. */
export interface AgentDetailViewProps {
    /** Organization slug that owns the agent. */
    readonly org: string;
    /** Agent slug (URL-friendly identifier unique within the org). */
    readonly slug: string;
    /**
     * Called when an MCP server reference is clicked.
     * Provides `org` and `slug` of the referenced MCP server so the
     * consumer can wire navigation. When the reference has no explicit
     * org, the agent's own org is used as fallback.
     */
    readonly onMcpServerClick?: (ref: {
        org: string;
        slug: string;
    }) => void;
    /**
     * Called when a skill reference is clicked.
     * Provides `org` and `slug` of the referenced skill.
     */
    readonly onSkillClick?: (ref: {
        org: string;
        slug: string;
    }) => void;
    /**
     * Called once when the agent resource has been fetched successfully.
     * Provides the resource display name for use cases like breadcrumbs,
     * document titles, or analytics — without requiring the consumer to
     * also call {@link useAgent}.
     *
     * Not called on error or not-found states.
     */
    readonly onResourceLoad?: (meta: {
        name: string;
        id: string;
    }) => void;
    /**
     * Called when the user toggles visibility via the inline control.
     * When provided, the header renders an interactive
     * {@link VisibilityToggle} instead of a read-only badge.
     * When omitted, visibility is displayed as a static "Public" pill.
     */
    readonly onVisibilityChange?: (v: ApiResourceVisibility) => void;
    /** `true` while a visibility update RPC is in flight. */
    readonly isVisibilityPending?: boolean;
    /** Additional CSS classes for the root container. */
    readonly className?: string;
}
/**
 * Read-only detail view for an Agent blueprint.
 *
 * Fetches the agent via {@link useAgent} internally and renders its
 * full configuration in structured sections: header, instructions,
 * MCP server usages, skills, sub-agents, and environment variables.
 * Sections with no data are omitted entirely — reducing visual noise
 * per the aesthetic-minimalist design heuristic (Nielsen #8).
 *
 * Handles loading, error, and not-found states automatically.
 * Zero Console dependencies — safe for platform builder embedding.
 * All visual properties flow through `--stgm-*` design tokens.
 *
 * @example
 * ```tsx
 * // Minimal — self-contained, fetches its own data
 * <AgentDetailView org="acme" slug="pr-review-agent" />
 * ```
 *
 * @example
 * ```tsx
 * // With cross-resource linking in a Console page
 * <AgentDetailView
 *   org={org}
 *   slug={slug}
 *   onMcpServerClick={({ org, slug }) => router.push(`/library/mcp-servers/${org}/${slug}`)}
 *   onSkillClick={({ org, slug }) => router.push(`/library/skills/${org}/${slug}`)}
 * />
 * ```
 */
export declare function AgentDetailView({ org, slug, onMcpServerClick, onSkillClick, onResourceLoad, onVisibilityChange, isVisibilityPending, className, }: AgentDetailViewProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=AgentDetailView.d.ts.map