import type { RunResult } from '../lint/run.js'; /** * Runs `mjst compile-api` over `argv`: loads the routes module, collects its * route-contract exports, compiles them with `compileToModule`, and writes * the emitted module to `--out`. Returns the exit code and the text it would * print (rather than writing to the process streams) so tests can drive it * in-process — the same shape as the lint subcommand's `run`. */ export declare const run: (argv: string[]) => Promise;