import { type CodaliImprovementArtifactType, type CodaliImprovementPolicyAction, type CodaliImprovementReleaseLevel, type CodaliImprovementStorageMode } from "../improvement/ImprovementPolicy.js"; import { type CodaliPublishMode, type CodaliPublishWorkflowConclusion, type CodaliPublishWorkflowStatus } from "../improvement/PublishOrchestrator.js"; import { type CodaliReleaseMonitorThresholds, type CodaliReleaseObservedMetrics, type CodaliReleaseRuntimePackageKind } from "../improvement/ReleaseOutcomeReporter.js"; import { type CodaliEvalReplayProposalArtifact } from "../improvement/EvalReplayCandidateBuilder.js"; import { type CodaliPatchProposalArtifact } from "../improvement/PromptSchemaToolMetadataCandidateBuilder.js"; import { type CodaliDocdexRetrievalProposalArtifact } from "../improvement/DocdexRetrievalCandidateBuilder.js"; import { type CodaliFineTuneProposalArtifact, type CodaliFineTuneWorkerRole } from "../improvement/FineTuneJobPlanner.js"; import { type CodaliModelRouterProposalArtifact } from "../improvement/ModelRouterCandidateBuilder.js"; import { type CodaliProductionGovernanceState } from "../improvement/ProductionGovernance.js"; export declare const IMPROVEMENT_EXIT_CODES: { readonly usage_error: 64; readonly validation_error: 65; }; export declare class ImprovementCommandError extends Error { readonly exitCode: number; constructor(message: string, exitCode?: number); } export interface ParsedImprovementArgs { command: "policy" | "levels" | "inspect" | "propose" | "build-release" | "eval" | "publish" | "monitor"; help: boolean; output: "text" | "json"; releaseLevel: CodaliImprovementReleaseLevel; tenantHash: string; tenantId?: string; productId: string; deploymentId?: string; runId?: string; artifactTypes: CodaliImprovementArtifactType[]; maxExamples: number; maxObjectBytes: number; storageMode: CodaliImprovementStorageMode; exportEnabled: boolean; trainingEnabled: boolean; autoTagEnabled: boolean; autoPublishEnabled: boolean; productionGovernance: CodaliProductionGovernanceState; checkAction?: CodaliImprovementPolicyAction; checkArtifactType?: CodaliImprovementArtifactType; checkExamples?: number; checkObjectBytes?: number; candidateId?: string; candidatePath?: string; exportId?: string; manifestPath?: string; directory?: string; proposalArtifact?: CodaliImprovementProposalArtifact; role?: CodaliFineTuneWorkerRole; exampleArtifactTypes: string[]; revokedDeletionGroupIds: string[]; dryRun: boolean; inventoryJson?: string; inventoryPath?: string; inventoryRefresh: boolean; inventoryTimeoutMs: number; storageServiceUrl?: string; storageServiceToken?: string; hmacSecret?: string; repoRoot?: string; candidateDate?: string; candidateOutputPath?: string; approvedWritePaths: string[]; publishMode: CodaliPublishMode; workflowRunId?: string; workflowStatus?: CodaliPublishWorkflowStatus; workflowConclusion?: CodaliPublishWorkflowConclusion; workflowUrl?: string; commitSha?: string; pollActions: boolean; verifyNpm?: boolean; npmRegistry: string; npmPackages: string[]; npmVersionResults: Array<{ packageName: string; version: string; }>; releaseId?: string; monitorWindowMinutes: number; monitorWindowStartedAt?: string; monitorWindowEndedAt?: string; monitorThresholds: Partial; monitorMetrics: Partial; runtimeVersions: Partial>; disabledRuntimePackages: CodaliReleaseRuntimePackageKind[]; rollbackApplied: boolean; published: boolean; tagged: boolean; trainingUsed: boolean; exportUsed: boolean; } type CodaliImprovementProposalArtifact = CodaliEvalReplayProposalArtifact | CodaliPatchProposalArtifact | CodaliDocdexRetrievalProposalArtifact | CodaliModelRouterProposalArtifact | CodaliFineTuneProposalArtifact; export declare const parseImprovementArgs: (argv: string[]) => ParsedImprovementArgs; export declare class ImprovementCommand { static run(argv: string[]): Promise; } export declare const createDefaultImprovementPolicyJson: () => string; export {}; //# sourceMappingURL=ImprovementCommand.d.ts.map