import { AxiosError } from 'axios'; import { BitbucketServerBuildSummary } from '../types/bitbucket.js'; export interface ApiError { status?: number; message: string; isAxiosError: boolean; originalError?: AxiosError; } export declare class BitbucketApiClient { private axiosInstance; private isServer; constructor(baseURL: string, username: string, password?: string, token?: string); makeRequest(method: 'get' | 'post' | 'put' | 'delete', path: string, data?: any, config?: any): Promise; handleApiError(error: any, context: string): { content: { type: string; text: string; }[]; isError: boolean; }; getIsServer(): boolean; getBuildSummaries(workspace: string, repository: string, commitIds: string[]): Promise; } //# sourceMappingURL=api-client.d.ts.map