import type { Skill } from "@stigmer/protos/ai/stigmer/agentic/skill/v1/api_pb";
/** Props for {@link SkillUploader}. */
export interface SkillUploaderProps {
    /** Organization that will own the uploaded skill. */
    readonly org: string;
    /** Optional version tag for the push (e.g. "stable"). */
    readonly tag?: string;
    /** Called after a successful push with the persisted skill resource. */
    readonly onComplete?: (skill: Skill) => void;
    /** Called when the user cancels the upload flow. */
    readonly onCancel?: () => void;
    /** Additional CSS classes for the root container. */
    readonly className?: string;
}
/**
 * Skill package upload component with validation and preview.
 *
 * Two-phase flow:
 * 1. **Drop zone** — User drags/drops or clicks to select a .zip file
 * 2. **Preview + confirm** — Validated package summary, file listing,
 *    rendered SKILL.md preview, and push button
 *
 * Validates the uploaded ZIP against the Anthropic Agent Skills spec:
 * must contain SKILL.md with valid YAML frontmatter (name, description).
 *
 * Zero Console dependencies — safe for platform builder embedding.
 * All visual properties flow through `--stgm-*` design tokens.
 *
 * @example
 * ```tsx
 * <SkillUploader
 *   org="acme"
 *   onComplete={(skill) => router.push(`/library/skills/${skill.metadata?.org}/${skill.metadata?.slug}`)}
 *   onCancel={() => router.back()}
 * />
 * ```
 */
export declare function SkillUploader({ org, tag, onComplete, onCancel, className, }: SkillUploaderProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=SkillUploader.d.ts.map