/**
 * @fileoverview Issues client for the DeepSource API
 * This module provides functionality for working with DeepSource issues.
 */
import { BaseDeepSourceClient } from './base-client.js';
import { DeepSourceIssue, IssueFilterParams } from '../models/issues.js';
import { PaginatedResponse } from '../utils/pagination/types.js';
/**
 * Client for interacting with DeepSource issues API
 * @class
 * @extends BaseDeepSourceClient
 * @public
 */
export declare class IssuesClient extends BaseDeepSourceClient {
    /**
     * Fetches issues from a DeepSource project with optional filtering
     * Supports multi-page fetching when max_pages is specified
     * @param projectKey The project key to fetch issues for
     * @param params Optional filter parameters including pagination
     * @returns Promise that resolves to a paginated list of issues
     * @throws {ClassifiedError} When the API request fails
     * @public
     */
    getIssues(projectKey: string, params?: IssueFilterParams): Promise<PaginatedResponse<DeepSourceIssue>>;
    /**
     * Fetches a specific issue by ID
     * @param projectKey The project key
     * @param issueId The issue ID to fetch
     * @returns Promise that resolves to the issue if found, null otherwise
     * @public
     */
    getIssue(projectKey: string, issueId: string): Promise<DeepSourceIssue | null>;
    /**
     * Builds the GraphQL query for fetching issues
     * @deprecated Use createOptimizedIssuesQuery instead for better performance
     * @private
     */
    private static buildIssuesQuery;
    /**
     * Extracts issues from GraphQL response
     * @private
     */
    private extractIssuesFromResponse;
    /**
     * Handles errors during issues fetching
     * @private
     */
    private handleIssuesError;
}
