/**
 * JIRA Deployment Type Detector
 *
 * Detects whether a JIRA instance is Cloud or Server/Data Center
 * and returns the correct API version to use.
 *
 * - Cloud: /rest/api/3 (ADF content format)
 * - Server/DC: /rest/api/2 (wiki markup content format)
 *
 * Results are cached per domain to avoid repeated lookups.
 *
 * @module jira-deployment-detector
 */
export interface DeploymentInfo {
    type: 'cloud' | 'server';
    apiVersion: '2' | '3';
    baseUrl: string;
}
/**
 * Detect JIRA deployment type by calling /rest/api/2/serverInfo.
 * This endpoint exists on both Cloud and Server/DC.
 *
 * Cloud instances return deploymentType: "Cloud".
 * Server/DC instances return deploymentType: "Server" or "DataCenter".
 */
export declare function detectDeploymentType(domain: string, auth: {
    email: string;
    apiToken: string;
}): Promise<DeploymentInfo>;
/**
 * Build the full API base URL for a given JIRA domain.
 * Uses cached deployment info if available.
 */
export declare function getApiBaseUrl(domain: string): string;
/**
 * Get the API version string for a domain.
 */
export declare function getApiVersion(domain: string): '2' | '3';
/**
 * Check if a domain is Cloud deployment.
 */
export declare function isCloud(domain: string): boolean;
/** Clear cache (for testing) */
export declare function clearDeploymentCache(): void;
//# sourceMappingURL=jira-deployment-detector.d.ts.map