/** * Error handling checker — verifies that the backend uses the response * envelope with proper exception filters and interceptors, and that * the frontend has structured API error handling. */ import type { Finding, CheckerContext } from './types'; /** * Run all error handling checks against the repository. * * Type-aware: NestJS-specific checks (exception filter, envelope * interceptor, raw-throw 500s) run ONLY for backend repos. The frontend * API-client check runs only for web/mobile. Generic repos (repoType * "unknown", e.g. plain Node CLIs) get no false-positive backend findings. */ export declare function runErrorChecks(ctx: CheckerContext): Finding[];