import { type Command } from "#compiled/commander/index.js"; import type { DevelopmentServer, DevelopmentServerOptions } from "#internal/nitro/host/types.js"; import { type RunInvokeInput } from "./invoke.js"; import { type InvokeResult } from "./result.js"; export interface InvokeCommandDependencies { readonly loadEnvironment: (appRoot: string) => void | Promise; readonly runInvoke: (input: RunInvokeInput) => Promise; readonly startHost: (appRoot: string) => DevelopmentServer | Promise; } /** Runtime overrides used when wiring `eve invoke` into the root CLI. */ export interface InvokeCliRuntimeDependencies { readonly runInvoke: (input: RunInvokeInput) => Promise; readonly startHost: (appRoot: string, options?: DevelopmentServerOptions) => DevelopmentServer; } interface InvokeCommandLogger { log(message: string): void; } /** Registers the invoke command with lazily loaded production dependencies. */ export declare function registerRuntimeInvokeCommand(input: { readonly appRoot: string; readonly logger: InvokeCommandLogger; readonly program: Command; readonly runtime: Partial; }): void; /** Registers the non-interactive invoke command. */ export declare function registerInvokeCommand(input: { readonly appRoot: string; readonly deps: InvokeCommandDependencies; readonly logger: InvokeCommandLogger; readonly program: Command; }): void; export {};