import defaultRunSession from "../run/runSession"; import type { CommandDeps } from "../cli/types"; /** Extra dependencies `run` needs beyond the shared CLI deps. */ export interface RunDeps extends CommandDeps { /** Environment source. Defaults to `process.env`. */ env?: NodeJS.ProcessEnv; /** Override the session supervisor (tests). */ runSession?: typeof defaultRunSession; } /** * `axe-auth run [--port] [--secret] -- [args...]`. Unlike the other * verbs, everything after `--` is the wrapped server command, so this bypasses * the shared flag-only dispatch and parses its own portion. Returns the exit * code to hand to the process. */ export declare function dispatchRun(rest: string[], deps: RunDeps): Promise;