import { type BuildHost } from "#cli/commands/build.js"; import { resolveDevUiMode, resolveTuiDisplayOptions } from "#cli/dev/ui-options.js"; import { type ResolveVerifiedRemoteDevelopmentClient, type RunAcpServer } from "#cli/acp/command.js"; import type { RunDevelopmentTuiInput } from "#cli/dev/tui/tui.js"; import type { EvalCliOptions } from "#evals/cli/eval.js"; import { type InvokeCliRuntimeDependencies } from "#cli/invoke/command.js"; import type { DevelopmentServer, DevelopmentServerOptions, ProductionServerHandle } from "#internal/nitro/host/types.js"; export { resolveDevUiMode, resolveTuiDisplayOptions }; interface CliLogger { error(message: string): void; log(message: string): void; } interface CliRuntimeDependencies { isCodingAgentLaunch(): Promise; isActiveDevelopmentServerForApp(input: { readonly appRoot: string; readonly serverUrl: string; }): Promise; buildHost: BuildHost; resolveVerifiedRemoteDevelopmentClient: ResolveVerifiedRemoteDevelopmentClient; runAcpServer: RunAcpServer; printApplicationInfo(logger: CliLogger, appRoot: string, options?: { json?: boolean; }): Promise; runDevelopmentTui(input: RunDevelopmentTuiInput): Promise; runInvoke: InvokeCliRuntimeDependencies["runInvoke"]; runEvalCommand(evalIds: readonly string[], options: EvalCliOptions, logger: CliLogger): Promise; startHost(appRoot: string, options?: DevelopmentServerOptions): DevelopmentServer; startProductionHost(appRoot: string, options?: { host?: string; port?: number; }): Promise; } type CliRuntimeOverrides = Partial; /** * Runs the eve CLI entrypoint. */ export declare function runCli(argv?: string[], logger?: CliLogger, runtime?: CliRuntimeOverrides): Promise;