import type { Rule } from '../domain/Rule.js';
import { ContextFile } from '../domain/ContextFile.js';
import { Violation } from '../domain/Violation.js';
export declare class HookConfigurationRule implements Rule {
    readonly id = "hook-configuration";
    readonly description = "Validates Claude Code hook configuration";
    private readonly dangerousPatterns;
    constructor(options?: {
        dangerousCommands?: string[];
        isRegex?: boolean;
    });
    appliesTo(file: ContextFile): boolean;
    lint(file: ContextFile): Violation[];
    private static readonly SETTINGS_PATH_PATTERN;
    private isSettingsFile;
    private parseJson;
    private static readonly KNOWN_EVENTS;
    private validateHooks;
    /** Validate one `{ matcher?, hooks: [...] }` group under an event. */
    private validateMatcherGroup;
    /** Validate one `{ type: "command", command: "..." }` entry. */
    private validateHookCommand;
    /** Scan a real hook command string for danger + fail-safety. */
    private checkCommand;
}
//# sourceMappingURL=HookConfigurationRule.d.ts.map