import type { ASTNode, Rule, AnalysisContext } from "../types.js"; /** * Rule that checks for explicit visibility modifiers on state variables * * Best Practice: State variables should have explicit visibility modifiers * (public, private, internal) rather than relying on default visibility. * This makes the code more readable and prevents accidental exposure of * sensitive data. * * Default visibility for state variables is internal, but it's better * to be explicit about the intended visibility. */ export declare class ExplicitVisibilityRule implements Rule { readonly id = "explicit-visibility"; readonly description = "State variables should have explicit visibility modifiers"; readonly severity: "warning"; apply(ast: ASTNode, context: AnalysisContext): void; private checkContractStateVariables; private checkStateVariable; } //# sourceMappingURL=explicit-visibility.d.ts.map