export type Route = 'codegen' | 'restless';
/**
 * Determine whether an invocation should be handled by our own Commander program (`codegen`) or
 * dispatched to the separately published Restless CLI.
 *
 * @param args CLI arguments — `process.argv` minus the Node binary and the script path.
 */
export declare function classifyInvocation(args: string[]): Route;
/**
 * Re-run the invocation against the Restless CLI (published on npm as `@restlessai/cli`) in a
 * child process, forwarding its exit code and any termination signals. The Restless CLI is
 * intentionally **not** a dependency of this package: `npx -y` fetches (and caches) it on
 * demand, keeping the two fully decoupled.
 *
 * @param args CLI arguments — `process.argv` minus the Node binary and the script path.
 */
export declare function dispatchToRestlessCli(args: string[]): void;
//# sourceMappingURL=router.d.ts.map