import type { HandlerCheckResult } from '../../types/schema-parity.js';
/**
 * Finds the handler file for a given tool registration file.
 * Convention: register-foo-tools.ts → foo-handler.ts (or similar).
 */
export declare function findHandlerFile(registerFile: string, projectPath: string): Promise<string | undefined>;
/**
 * Checks whether a handler file accesses an optional field safely.
 * Safe patterns: `field ?? `, `if (field`, `if (!field`, `field?.`
 * Unsafe pattern: `field.method(` or `field.property` without a preceding guard.
 */
export declare function checkHandlerAccess(fieldName: string, handlerFile: string): Promise<HandlerCheckResult>;
/**
 * Analyses handler content for safe/unsafe access of fieldName.
 * Exported for unit testing.
 */
export declare function checkHandlerContent(fieldName: string, handlerFile: string, content: string): HandlerCheckResult;
//# sourceMappingURL=handler-checker.d.ts.map