import { ValidationRule, ValidationContext, ValidationSeverity } from '../interfaces'; /** * Options for DisallowedIdentifierRule */ export interface DisallowedIdentifierOptions { /** List of identifier names that are not allowed */ disallowed: string[]; /** Custom message template (use {identifier} placeholder) */ messageTemplate?: string; } /** * Rule that prevents usage of specific identifiers * * Useful for blocking access to dangerous globals or built-ins like: * - eval * - Function * - process * - require * - etc. */ export declare class DisallowedIdentifierRule implements ValidationRule { private options; readonly name = "disallowed-identifier"; readonly description = "Prevents usage of disallowed identifiers"; readonly defaultSeverity = ValidationSeverity.ERROR; readonly enabledByDefault = true; constructor(options: DisallowedIdentifierOptions); validate(context: ValidationContext): void; }