/**
 * Bitbucket Provider Implementation
 *
 * Implements GitProvider interface for Bitbucket.org and Bitbucket Server/Data Center.
 * Handles repository validation, creation, and management via Bitbucket API 2.0.
 *
 * @module providers/bitbucket-provider
 */
import { BaseGitProvider, type PlatformConfig, type RepoValidationResult, type OwnerValidationResult, type CreateRepoOptions } from '../git-provider.js';
/**
 * Bitbucket Provider
 *
 * Implements Git operations for Bitbucket platform.
 * Supports both Bitbucket.org and Bitbucket Server/Data Center.
 */
export declare class BitbucketProvider extends BaseGitProvider {
    constructor(config?: Partial<PlatformConfig>);
    /**
     * Validate if a repository exists on Bitbucket
     */
    validateRepository(owner: string, repo: string, token?: string): Promise<RepoValidationResult>;
    /**
     * Validate if a Bitbucket workspace (user or team) exists
     */
    validateOwner(owner: string, token?: string): Promise<OwnerValidationResult>;
    /**
     * Create a new repository on Bitbucket
     */
    createRepository(options: CreateRepoOptions, token: string): Promise<string>;
    /**
     * Check if a workspace is a team (organization)
     */
    isOrganization(account: string, token?: string): Promise<boolean>;
    /**
     * Get token creation URL
     */
    getTokenUrl(): string;
    /**
     * Get required token scopes
     */
    getRequiredScopes(isOrganization?: boolean): string[];
    /**
     * Override SSH user for Bitbucket
     */
    protected getSSHUser(): string;
    /**
     * Override getAuthHeaders for Bitbucket-specific auth (Bearer token)
     */
    protected getAuthHeaders(token: string): Record<string, string>;
}
/**
 * Create a Bitbucket provider instance
 */
export declare function createBitbucketProvider(config?: Partial<PlatformConfig>): BitbucketProvider;
//# sourceMappingURL=bitbucket-provider.d.ts.map