import { ruleCreator } from "../_internal/rule-creator.js"; type MessageIds = "forbidden"; type Options = readonly []; /** * Disallow function declarations that appear after a `return` statement in the * same block scope. * * JavaScript hoists function declarations to the top of their enclosing scope, * so placing a function declaration after a `return` works at runtime. However, * it hurts readability and confuses readers who are not aware of hoisting. * * Only `FunctionDeclaration` nodes are targeted. Arrow-function expressions, * function expressions assigned to variables, and any code that is genuinely * unreachable are not in scope for this rule — `no-unreachable` already covers * that case. */ declare const rule: ReturnType>; export default rule; //# sourceMappingURL=no-function-declare-after-return.d.ts.map