import { BitbucketConfig } from "./types.js"; /** * Bitbucket MCP Server with modular handlers */ export declare class BitbucketMcpServer { private readonly server; private readonly client; private readonly config; private readonly toolHandlers; private readonly toolDefinitions; private readonly dangerousToolNames; constructor(config: BitbucketConfig); /** * Register all handler modules with filtering based on mode and tool lists */ private registerHandlers; /** * Determine if a tool should be enabled based on mode and configuration */ private shouldEnableTool; /** * Check if a tool is a write operation (POST/PUT/DELETE) */ private isWriteOperation; /** * Check if a tool is considered dangerous */ private isDangerousTool; /** * Setup MCP tool routing */ private setupToolRouting; /** * Start the server with stdio transport */ run(): Promise; } /** * Create and run server from environment config */ export declare function main(): Promise;