import { type Settings as SettingsType } from "../config/settings"; type SettingsReader = Pick; /** * Check if a file is auto-generated by examining its content. * Throws ToolError if the file appears to be auto-generated. * * @param absolutePath - Absolute path to the file * @param displayPath - Path to show in error messages (relative or as provided) */ export declare function assertEditableFile(absolutePath: string, displayPath: string | undefined, settings?: SettingsReader): Promise; /** * Check if file content is auto-generated. * Uses only the first CHECK_BYTE_COUNT characters of the content. * Throws ToolError if the content appears to be auto-generated. * * @param content - File content to check (can be full content or prefix) * @param displayPath - Path to show in error messages */ export declare function assertEditableFileContent(content: string, displayPath: string, settings?: SettingsReader): void; export {};