import "../../schema-BogGdbdV.js";
import "../../types-DoT0an28.js";
import "../../client-njqQAP-R.js";
import { ApiNotFoundError } from "../../errors-CyAWBU2S.js";
import "../../index-NfFbnYt3.js";

//#region src/internal/tool-helpers/enhance-error.d.ts

/**
 * Enhances a 404 error with parameter context to help users understand what went wrong.
 * This is optional - tools can use this when they want to provide extra context.
 *
 * @example
 * ```typescript
 * try {
 *   const issue = await apiService.getIssue({ organizationSlug, issueId });
 * } catch (error) {
 *   if (error instanceof ApiNotFoundError) {
 *     throw enhanceNotFoundError(error, { organizationSlug, issueId });
 *   }
 *   throw error;
 * }
 * ```
 */
declare function enhanceNotFoundError(error: ApiNotFoundError, params: Record<string, unknown>): ApiNotFoundError;
//# sourceMappingURL=enhance-error.d.ts.map
//#endregion
export { enhanceNotFoundError };
//# sourceMappingURL=enhance-error.d.ts.map