#!/usr/bin/env node import { Command } from "commander"; import { type ClaudeCommandRunner } from "./claude-setup.js"; import { type CodexCommandRunner } from "./codex-setup.js"; export declare const PONY_COMMAND_MANIFEST_FLAG = "--pony-command-manifest"; export interface PonyCommandManifest { protocolVersion: 1; commands: Array<{ description: string; name: string; }>; } export interface PonyCliInput extends AsyncIterable> { isTTY?: boolean; } export interface PonyCliOutput { isTTY?: boolean; write(value: string): unknown; } export interface PonyCliRuntime { env: NodeJS.ProcessEnv; homeDir?: string; stdin: PonyCliInput; stdout: PonyCliOutput; stderr: PonyCliOutput; runClaudeCommand?: ClaudeCommandRunner; runCodexCommand?: CodexCommandRunner; } export declare function createPonyProgram(runtime?: PonyCliRuntime): { program: Command; exitCode: () => number; }; /** * Runs an isolated CLI invocation so callers can execute Pony repeatedly without * sharing Commander state, process streams, or exit codes between invocations. */ export declare function runPonyCli(args: string[], runtime?: PonyCliRuntime): Promise; /** * The launcher asks the project runtime for its commands instead of assuming * that a global release knows every command exposed by an older local release. */ export declare function createPonyCommandManifest(): Promise; export declare function isCliEntrypoint(invokedPath: string | undefined, moduleUrl?: string): Promise; //# sourceMappingURL=index.d.ts.map