import type { PluginHookContributions } from "../../types/hook"; export declare const EDIT_ERROR_PATTERNS: readonly [RegExp, RegExp, RegExp, RegExp]; export declare const EDIT_ERROR_RECOVERY_MESSAGE = "[EDIT ERROR RECOVERY]\nEdit failed because the target text did not match the current file state. Re-read the file, copy the exact current content, and retry the edit with an unambiguous oldString."; type PostToolUseHook = NonNullable; export declare function createEditErrorHandler(): PostToolUseHook; export {};