import type { HookContext, HookPolicy, PostToolUseWarning } from './types.mts'; /** Runs every matching checker. A checker that throws becomes one error warning, never a crash. */ export declare function checkFile(filePath: string, root: string, checkers?: HookPolicy['checkers']): PostToolUseWarning[]; /** * The stdout of a post-tool-use hook: one `additionalContext` JSON object carrying the checkers' * `[level] message` lines and the reminder, or an empty string when there is nothing to say. The * hook is advisory and never blocks, so failures here are swallowed. */ export declare function postToolUseOutput(context: HookContext, policy: HookPolicy): Promise;