import type { LintDiagnostic, RuleContext, RuleDefinition } from '../../types'; /** * AST-based: detect top-level functions never called anywhere in the workspace. * Requires `lintContext.calledWorkwideFuncNames` — populated by the extension's * WorkspaceCallIndex in editor mode, or by `collectCalledWorkwideFuncNames` * (analysis/calledFunctionNames.ts) in CLI mode when this rule is enabled. Returns * [] if genuinely absent (rule disabled, or a test/mock context). */ export declare function checkDeadFunctionsAst(ctx: RuleContext): LintDiagnostic[]; export declare const descriptor: RuleDefinition; //# sourceMappingURL=deadFunctions.d.ts.map