import type { World } from '@workflow/world'; interface CLICreateOpts { json?: boolean; verbose?: boolean; /** * Deployment to start the run on: a deployment ID, or `latest`. Defaults to * `latest` for a workflow name and to the source run's deployment for a * run ID. */ deployment?: string; } /** * Resolve the deployment a new run targets, the same way `start()` resolves * `deploymentId: 'latest'`: through the World's `resolveLatestDeploymentId()`, * which on Vercel asks the Vercel API for the newest READY deployment of the * configured project and environment. It never depends on which runs exist, * so a workflow that has never run can still be started. * * Worlds without atomic deployments (local, Postgres) have nothing to choose * between, so `latest` is their current deployment, as it is in `start()`. */ export declare const resolveTargetDeploymentId: (world: World, deployment: string) => Promise; export declare const startRun: (world: World, workflowNameOrRunId: string, opts: CLICreateOpts, args: string[]) => Promise; export {}; //# sourceMappingURL=run.d.ts.map