import type { Command } from 'commander';
import type { CloudProvider } from '../lib/cloud/types.js';
/** Error type for run --cloud validation failures (exit 1, red message). */
export declare class RunCloudError extends Error {
    constructor(message: string);
}
/** Flags the user passed that cannot ride a cloud placement. */
export declare function runCloudConflicts(options: Record<string, unknown>): string[];
/** Cloud-only flags passed without the --cloud placement. */
export declare function cloudFlagsWithoutCloud(options: Record<string, unknown>): string[];
/** Agents that route to a native cloud provider (the registry's truth). */
export declare function cloudCapableAgentIds(): string[];
/**
 * Resolve the cloud provider for a run: explicit --provider wins, else the
 * agent's native cloud. An agent with no native cloud fails loud with the
 * capable list — never a silent ride onto the configured default.
 */
export declare function resolveRunCloudProvider(agentId: string, explicitProvider?: string): CloudProvider;
/** Validate the agent half of `agents run <agent> --cloud` and return the registry id. */
export declare function resolveRunCloudAgent(agentSpec: string): string;
/**
 * Handle `agents run <agent> [prompt] --cloud`. Validation lives in the
 * exported helpers above (unit-tested); this wires them to the shared
 * dispatch core and dies on any validation failure.
 */
export declare function handleRunCloud(agentSpec: string, prompt: string | undefined, options: Record<string, unknown>, command: Command): Promise<void>;
