import type { CommandDef, InputsSchema } from "./types";
/**
 * Run a command programmatically.
 * This is the main entry point for calling commands from code.
 *
 * @example
 * ```ts
 * import { commandPortForward } from "./commands/project/portForward";
 * import { runCommand } from "./core/runner";
 *
 * await runCommand(commandPortForward, {
 *   inputs: { envComponent: "dev:web", podName: "web-abc", localPort: 3000, remotePort: 3000 },
 * });
 * ```
 */
export declare function runCommand<TInputs extends InputsSchema>(command: CommandDef<TInputs>, options?: {
  inputs?: Record<string, unknown>;
  onLog?: (message: string) => void;
}): Promise<void>;