import type { BitbucketConfig } from "./types.js"; /** * Normalize Bitbucket configuration for backward compatibility and DX. * Handles URL normalization and workspace extraction from web URLs. */ export declare function normalizeBitbucketConfig(rawConfig: BitbucketConfig): BitbucketConfig; /** * Load Bitbucket configuration from environment variables. * Reads all relevant BITBUCKET_* env vars and returns a normalized config. * * REQUIRED ENVIRONMENT VARIABLES: * - BITBUCKET_USERNAME: Your Atlassian email address * - BITBUCKET_API_TOKEN: Personal API Token (must start with ATBB- or ATATT-) * * OPTIONAL: * - BITBUCKET_WORKSPACE: Default workspace name * - BITBUCKET_URL: API base URL (default: https://api.bitbucket.org/2.0) * - BITBUCKET_MODE: Operation mode - readonly, safe (default), or full * - BITBUCKET_ENABLED_TOOLS: Comma-separated list of tools to enable * - BITBUCKET_DISABLED_TOOLS: Comma-separated list of tools to disable */ export declare function loadConfigFromEnv(): BitbucketConfig;