import { Command } from 'commander'; import { getErrorMessage, ok, redactSensitiveErrorMessage, type ResultEnvelope } from '../shared/result.js'; import type { ArtifactProvider, GuidedArtifactSetup } from '../services/artifacts/artifact-service.js'; import type { ConfigLayer } from '../services/config/config-service.js'; import type { MiniMaxProviderSmokeResult } from '../services/providers/minimax-provider-service.js'; import type { MiniMaxWorkerResult } from '../services/providers/minimax-worker-service.js'; import type { RecommendationWorkflow } from '../services/recommendations/recommendation-service.js'; export type ProgramIO = { stdout: (text: string) => void; stderr: (text: string) => void; }; export declare function printResult(io: ProgramIO, result: ResultEnvelope, asJson?: boolean): void; export declare function addJsonOption(command: Command): Command; export declare function failUnsupportedNonDryRun(io: ProgramIO, command: string, asJson?: boolean): void; export declare function isRecommendationWorkflow(value: string): value is RecommendationWorkflow; export declare function isArtifactProvider(value: string): value is ArtifactProvider; export declare function isArtifactSetupStep(value: string): value is GuidedArtifactSetup['step']; export declare function isArtifactRepoSegment(value: string): boolean; export declare function isMiniMaxHttpsUrl(value: string): boolean; export declare function parseConfigLayer(value: string | undefined): ConfigLayer | undefined | null; export declare function printInvalidConfigLayer(io: ProgramIO, command: string, asJson?: boolean): void; export declare function multipleOption(value: string, previous: string[]): string[]; export declare function summarizeMiniMaxSmokeResult(result: MiniMaxProviderSmokeResult): MiniMaxProviderSmokeResult; export declare function summarizeMiniMaxWorkerResult(result: MiniMaxWorkerResult): MiniMaxWorkerResult; export { getErrorMessage, ok, redactSensitiveErrorMessage };