import type { OutputWriter } from './output.js';
import type { AgentVersion } from './api-types.js';
/**
 * Poll until a version's validation completes, then check the result.
 * Exits the process on timeout or validation failure.
 * Returns the updated version on success.
 */
export declare function waitForValidation(versionId: string, output: OutputWriter): Promise<AgentVersion>;
/**
 * Poll until a version's publish completes (PUBLISHING → PUBLISHED).
 * Exits the process on timeout or failure.
 * Returns the updated version on success.
 */
export declare function waitForPublish(versionId: string, output: OutputWriter): Promise<AgentVersion>;
//# sourceMappingURL=version-helpers.d.ts.map