import type { ASTNode, Rule, AnalysisContext } from "../types.js"; /** * Rule that enforces camelCase naming convention for functions * * Style Guide: Function names should follow camelCase convention * where the first word is lowercase and subsequent words start * with uppercase letters, with no underscores or spaces. * * Examples: * - Good: transfer, balanceOf, transferFrom, increaseAllowance * - Bad: Transfer, balance_of, transfer_from, increase_allowance * * Exceptions: * - Constructor functions (no name) * - Fallback and receive functions */ export declare class FunctionNamingRule implements Rule { readonly id = "function-naming"; readonly description = "Function names should follow camelCase convention"; readonly severity: "warning"; private readonly camelCaseRegex; private readonly specialFunctions; apply(ast: ASTNode, context: AnalysisContext): void; private checkFunctionName; /** * Suggest a camelCase version of the given name */ private suggestCamelCase; } //# sourceMappingURL=function-naming.d.ts.map