/** * Version Checker * * Checks context files for outdated versions. * Integrates with database for efficient caching. */ import type { DatabaseClient } from '../../db/client.js'; import type { CheckOptions, FileVersionStatus, VersionCheckResult } from './types.js'; /** * Check a single file for version status * * @param filePath - Full path to the file * @param tool - Tool name * @param currentVersion - Current k0ntext version * @param db - Database client (optional, for modification detection) * @returns File version status */ export declare function checkSingleFile(filePath: string, tool: string, currentVersion: string, db?: DatabaseClient): Promise; /** * Check all context files for version status * * @param options - Check options * @param db - Database client (optional) * @returns Version check result */ export declare function checkContextFiles(options: CheckOptions, db?: DatabaseClient): Promise; /** * Get all context file paths for a tool * * @param tool - Tool name * @returns Array of file paths */ export declare function getToolFiles(tool: string): string[]; /** * Check if a tool is supported * * @param tool - Tool name * @returns True if supported */ export declare function isSupportedTool(tool: string): boolean; /** * Get all supported tools * * @returns Array of tool names */ export declare function getSupportedTools(): string[]; //# sourceMappingURL=checker.d.ts.map