import type { ScopeInfo, TypeCheckerContext } from "./types.js"; /** * Emit a diagnostic for every call site that doesn't resolve to a known * function — bare `functionCall` names AND `.member(...)` chains. * * Severity is controlled by `config.typechecker.undefinedFunctions`: * - "silent" (default): no diagnostics emitted * - "warn": pushed as warnings * - "error": pushed as errors * * Resolution is delegated to `resolveCall` / `lookupJsMember` (pure functions * in resolveCall.ts) — this module just walks the AST and translates "didn't * resolve" into a diagnostic. */ export declare function checkUndefinedFunctions(scopes: ScopeInfo[], ctx: TypeCheckerContext): void;