import type { SourceCodeParams, ScmBlameParams, SonarQubeSourceResult, SonarQubeScmBlameResult } from '../types/index.js'; import type { SonarQubeClient as WebApiClient } from 'sonarqube-web-api-client'; import type { IssuesDomain } from './issues.js'; import { BaseDomain } from './base.js'; /** * Domain module for source code operations */ export declare class SourceCodeDomain extends BaseDomain { private readonly issuesDomain?; constructor(webApiClient: WebApiClient, organization: string | null, issuesDomain?: IssuesDomain | undefined); /** * Gets source code for a file * @param params Parameters including file key and line range * @returns Promise with the source code */ getSourceCode(params: SourceCodeParams): Promise; private mapSourceToResult; /** * Gets SCM blame information for a file * @param params Parameters including file key and line range * @returns Promise with the SCM blame information */ getScmBlame(params: ScmBlameParams): Promise; }