import { type ComponentType } from 'react'; /** * Dispatch a REPL-class command (`dev`, `console`, `deploy`) between its * agent-mode `run` entry point and its interactive Ink `Component`. Keeps * the three `case` blocks in `cli.ts` from each re-deriving the same * "is this interactive" check and re-specifying the same render options. */ export declare function dispatchReplCommand(opts: { /** Used only for the TTY-required error message. */ commandName: 'dev' | 'console' | 'deploy'; config: T; /** Extra forcing conditions for the async path (e.g. deploy's `--json`). */ nonInteractive?: boolean; /** When true, absence of a TTY is an error unless `--agent` is set. * `dev` and `console` need this (the Ink UI has no sensible fallback). * `deploy` sets it false and silently falls through to `run`. */ requireTtyForInteractive: boolean; Component: ComponentType<{ args: T; }>; run: (config: T) => void | Promise; }): void; //# sourceMappingURL=dispatchReplCommand.d.ts.map