/**
 * @fileoverview Heuristic source-text lint rules that scan the body of a
 * tool/resource handler for common error-handling anti-patterns. These rules
 * are intentionally cautious — false positives are warnings, not errors, and
 * each rule fires at most once per definition to avoid noisy reports.
 * @module src/linter/rules/handler-body-rules
 */
import type { LintDefinitionType, LintDiagnostic } from '../types.js';
/**
 * Runs all handler-body lint rules against a tool or resource definition.
 * Operates on `handler.toString()` — heuristic but adequate for catching the
 * common anti-patterns documented in the framework conventions.
 */
export declare function lintHandlerBody(def: {
    handler?: unknown;
    name?: string;
}, definitionType: LintDefinitionType): LintDiagnostic[];
//# sourceMappingURL=handler-body-rules.d.ts.map