import type { Logger, LoggerLevel } from './ports/logger-port'; import { type DatabaseExecutorOptions, type ExecutorOptions, type WorkflowExecutor } from './build-workflow-executor'; export interface CliArgs { help: boolean; version: boolean; inMemory: boolean; pretty: boolean; json: boolean; } export interface CliConfig { executorOptions: ExecutorOptions; databaseUrl?: string; databaseSsl: boolean; databaseSchema?: string; mode: 'in-memory' | 'database'; } export interface CliFactories { buildInMemory: (options: ExecutorOptions) => WorkflowExecutor; buildDatabase: (options: DatabaseExecutorOptions) => WorkflowExecutor; } export declare function parseArgs(argv: string[]): CliArgs; export declare function pickLogger(args: CliArgs, level: LoggerLevel, stdout?: NodeJS.WriteStream): Logger; export declare function readEnvConfig(env: NodeJS.ProcessEnv, args: CliArgs): CliConfig; export declare function printHelp(): void; export declare function printVersion(): void; export declare function logStartup(logger: Logger, config: CliConfig): void; export declare function runCli(argv: string[], env: NodeJS.ProcessEnv, factories: CliFactories): Promise; //# sourceMappingURL=cli-core.d.ts.map