import { ApiResourceVisibility } from "@stigmer/protos/ai/stigmer/commons/apiresource/enum_pb";
/** Props for {@link SkillDetailView}. */
export interface SkillDetailViewProps {
    /** Organization slug that owns the skill. */
    readonly org: string;
    /** Skill slug (URL-friendly identifier unique within the org). */
    readonly slug: string;
    /** Optional version tag or content hash to pin to a specific version. */
    readonly version?: string;
    /**
     * Called once when the skill 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 useSkill}.
     *
     * 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 a Skill knowledge package.
 *
 * Fetches the skill via {@link useSkill} internally and renders its
 * full content in structured sections: header, SKILL.md content
 * (rendered as formatted markdown), and version/provenance info.
 * Sections with no data are omitted entirely.
 *
 * The SKILL.md content is the primary value of this view — it IS the
 * skill. The markdown is rendered using the same styled component
 * overrides used across all SDK markdown surfaces.
 *
 * 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
 * <SkillDetailView org="acme" slug="code-style-guide" />
 * ```
 *
 * @example
 * ```tsx
 * // Pinned to a specific version tag
 * <SkillDetailView org="acme" slug="code-style-guide" version="stable" />
 * ```
 */
export declare function SkillDetailView({ org, slug, version, onResourceLoad, onVisibilityChange, isVisibilityPending, className, }: SkillDetailViewProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=SkillDetailView.d.ts.map