/**
 * CLI Publish Command
 *
 * Validates, packages, and submits a skill package to the marketplace.
 * Produces a tar.gz archive, generates metadata, and optionally submits
 * to the local Crewly backend for review and publishing.
 *
 * @module cli/commands/publish
 */
/** Options for the publish command */
interface PublishOptions {
    /** If true, only validate without creating archive */
    dryRun?: boolean;
    /** Output directory for the archive (defaults to cwd) */
    output?: string;
    /** If true, submit the archive to the marketplace via the user's own gh CLI */
    submit?: boolean;
    /** If true, submit via Crewly Cloud (cloud opens the PR using its bot token; requires `crewly cloud login`) */
    cloud?: boolean;
    /** Backend URL for submission (defaults to localhost:3000) */
    url?: string;
}
/**
 * Publishes a skill package by validating, archiving, and optionally
 * submitting to the marketplace for review.
 *
 * Modes:
 * - `--dry-run`: Only validates, no archive created
 * - Default: Creates archive and prints registry entry JSON
 * - `--submit`: Creates archive and submits to the Crewly backend
 *
 * @param skillPath - Path to the skill directory
 * @param options - Command options (--dry-run, --output, --submit, --url)
 */
export declare function publishCommand(skillPath?: string, options?: PublishOptions): Promise<void>;
export {};
//# sourceMappingURL=publish.d.ts.map