import type { Command } from "commander"; import type { CliDependencies } from "./program.js"; export declare function createCliMain(programFactory: (dependencies: CliDependencies) => Command): () => Promise; export declare function redactSensitiveArgv(argv: readonly string[]): string[]; export declare function isCliInvocation(argv: string[], moduleUrl: string, realpath?: (path: string) => string): boolean;