import type { TSESLint } from '@typescript-eslint/utils'; import type { Rule, SourceCode } from 'eslint'; /** * Returns the SourceCode object from the ESLint rule context. * Compatibility layer to support older versions of ESLint. * @param context - The ESLint rule context */ export declare function getSourceCode(context: Rule.RuleContext): SourceCode; export declare function getSourceCode(context: TSESLint.RuleContext): TSESLint.SourceCode;