import { GuildAPIClient } from './api-client.js';
/**
 * Resolve a version ID from an integration identifier and optional semver.
 *
 * 1. GET /integrations/<identifier> to resolve the integration
 * 2. GET /integrations/<id>/versions to list versions
 * 3. If semver provided, find matching version_number; otherwise use latest (first)
 */
export declare function resolveVersionId(client: GuildAPIClient, identifier: string, versionNumber?: string): Promise<string>;
/**
 * Resolve the latest draft version ID for an integration.
 * Used by the build command where --version is not applicable (drafts have no semver).
 */
export declare function resolveLatestDraftId(client: GuildAPIClient, identifier: string): Promise<string>;
//# sourceMappingURL=integration-helpers.d.ts.map