import type { Command } from "commander"; import { RemoteSkillsClient } from "../../lib/remote-client.js"; import { type PackedSkillBundle } from "../../lib/skill-bundle.js"; export interface PushSkillOptions { dryRun?: boolean; json?: boolean; version?: string; client?: RemoteSkillsClient | null; /** Overrides the corpus location. Tests only. */ rootDir?: string; } export interface PushSkillResult { slug: string; path: string; sha256: string; fileCount: number; bundleByteSize: number; unpackedByteSize: number; paths: string[]; published: boolean; status?: number; response?: unknown; } export declare class PushSkillError extends Error { readonly detail?: string[] | undefined; constructor(message: string, detail?: string[] | undefined); } export declare function registerPublish(parent: Command): void; export declare function pushSkill(name: string, options?: PushSkillOptions): Promise; export type { PackedSkillBundle };