/**
 * @fileoverview Projects handler for the DeepSource MCP server
 * This module provides MCP tool handlers for DeepSource projects.
 */
import { DeepSourceClientFactory } from '../client/factory.js';
import { ApiResponse } from '../models/common.js';
import { Logger } from '../utils/logging/logger.js';
/**
 * Dependencies interface for the projects handler
 */
export interface ProjectsHandlerDeps {
    clientFactory: DeepSourceClientFactory;
    logger: Logger;
    getApiKey: () => string;
}
/**
 * Creates a projects handler with injected dependencies
 * @param deps - The dependencies for the handler
 * @returns The configured handler function
 */
export declare function createProjectsHandler(deps: ProjectsHandlerDeps): () => Promise<ApiResponse>;
/**
 * Fetches and returns a list of all available DeepSource projects
 * @returns A response containing the list of projects with their keys and names
 * @throws Error if the DEEPSOURCE_API_KEY environment variable is not set
 * @public
 */
export declare function handleProjects(): Promise<ApiResponse>;
