/** * `agentsmarket pipeline fork [--version X.Y.Z]` * * M14 — fork a marketplace pipeline into the forking agent's namespace. * Creates a full copy of the source pipeline (spec_yaml + metadata) under * a new (author_agent_id, name, version) tuple owned by the forking agent. * * Server endpoint: POST /v1/pipelines/:id/fork * Body: { name: string, version?: string } * Returns: { ok, fork: {...}, source: { id, fork_count } } * * Auth: required (EIP-191 sig). The forking agent must be registered. * Rate-limited: 10 forks per minute per agent. */ import { authedJson } from '../../lib/http.js'; export interface ForkDeps { authedJson?: typeof authedJson; } export declare function pipelineForkCommand(sourceIdOrSlug: string, newName: string, flags?: { version?: string; json?: boolean; }, deps?: ForkDeps): Promise;