/** * Plan 040 Task 4 — `prism dev` delegation into `@arnilo/prism-dev`. * The core deliberately holds no compile-time dependency on the dev package * (dev-only surface, omitted from umbrellas): the subcommand resolves the * package from the current project's own `node_modules` and hands the CLI * over. Unresolvable → actionable install hint, exit 2. */ import type { Writable } from "node:stream"; export interface DevCliModule { runDevCli(argv: readonly string[], runtime: { stdout: Writable; stderr: Writable; cwd?: string; }): Promise; } export type PrismDevLoader = () => Promise; export interface PrismDevSubcommandRuntime { readonly stdout: Writable; readonly stderr: Writable; /** Test injection: overrides project-level `@arnilo/prism-dev` resolution. */ readonly loadDevCli?: PrismDevLoader; } /** * Default loader: resolve `@arnilo/prism-coding-tools/dev/cli` (or `@arnilo/prism-dev/cli`) * from the project the user is standing in, falling back to this CLI's own installation. */ export declare const defaultLoadDevCli: PrismDevLoader; /** Runs the `prism dev` subcommand by delegating into the resolved package. */ export declare function runPrismDevSubcommand(argv: readonly string[], runtime: PrismDevSubcommandRuntime): Promise;