/**
 * Bitbucket Repository Cloning
 *
 * Handles fetching and cloning Bitbucket repositories during init.
 * Cloning runs in background (non-blocking) via job manager.
 *
 * Provides parity with ADO multi-repo cloning:
 * - Fetches repos from Bitbucket workspace via API v2.0
 * - Filters by user-selected pattern (all/glob/regex)
 * - Creates background clone jobs
 * - Tracks progress via sw:jobs
 *
 * @module cli/helpers/init/bitbucket-repo-cloning
 */
import { type ClonePatternResult } from '../selection-strategy.js';
/**
 * Bitbucket repository selection (from init flow)
 */
export interface BitbucketRepoSelection {
    /** Bitbucket workspace slug */
    workspace: string;
    /** Bitbucket username */
    username: string;
    /** Bitbucket App Password */
    appPassword: string;
}
/**
 * Trigger Bitbucket repository cloning during init
 *
 * This function:
 * 1. Fetches repository list from Bitbucket workspace
 * 2. Filters repositories by clone pattern (glob/regex)
 * 3. Creates a background job for cloning
 * 4. Starts cloning asynchronously (non-blocking)
 *
 * @param projectPath - Target directory for cloning
 * @param bitbucketRepoSelection - Bitbucket workspace and credentials
 * @param clonePattern - Clone pattern configuration
 * @returns Job ID for dependency tracking, or undefined if skipped/failed
 */
export declare function triggerBitbucketRepoCloning(projectPath: string, bitbucketRepoSelection: BitbucketRepoSelection, clonePattern: ClonePatternResult): Promise<string | undefined>;
//# sourceMappingURL=bitbucket-repo-cloning.d.ts.map