import type { AgencyConfig } from "../config/config.js"; /** The errors `source` reports under `code`. The cast test files build their * own helpers from this one so neither keeps a second copy. */ export declare function errorsWithCode(source: string, code: string, config?: AgencyConfig): import("../compiler/typecheck.js").TypeCheckDiagnostic[]; /** Every diagnostic code `source` reports, in order. */ export declare function allCodes(source: string, config?: AgencyConfig): string[];