import { type ExecException } from "node:child_process"; export declare const CLAUDE_MINIMUM_VERSION = "2.0.12"; export declare const CLAUDE_MARKETPLACE_NAME = "whitespace-pony"; export declare const CLAUDE_MARKETPLACE_SOURCE = "https://unpkg.com/@whitespace/pony@latest/.claude-plugin/marketplace.json"; export declare const CLAUDE_PLUGIN_ID = "pony@whitespace-pony"; export declare const CLAUDE_PLUGIN_SCOPE = "user"; export interface ClaudeCommandResult { stderr: string; stdout: string; } export type ClaudeCommandRunner = (args: string[]) => Promise; export type ClaudeCommandExecutor = (executable: string, args: string[], callback: (error: ExecException | null, stdout: string, stderr: string) => void) => void; export type ClaudeSetupOutcome = "current" | "installed" | "newer" | "upgraded"; export interface ClaudeSetupResult { claudeVersion: string; installedVersion: string; marketplaceAction: "added" | "refreshed"; outcome: ClaudeSetupOutcome; pluginId: string; scope: typeof CLAUDE_PLUGIN_SCOPE; version: string; } export declare function runClaudeCommand(args: string[], execute?: ClaudeCommandExecutor): Promise; /** * Delegates every settings and cache mutation to Claude Code. Pony refreshes * only its own marketplace, targets user scope explicitly, and verifies the * resolved installed version before reporting a successful change. */ export declare function setupClaudePlugin(version: string, runner?: ClaudeCommandRunner): Promise; //# sourceMappingURL=claude-setup.d.ts.map