import { type CheckResult, type HookInput } from "@oh-my-opencode/comment-checker-core"; export declare function resolveCommentCheckerPathFromPath(binaryName: string, which?: (binary: string) => string | null): string | null; /** * Asynchronously get comment-checker binary path. * Will trigger lazy download if binary not found. */ export declare function getCommentCheckerPath(): Promise; /** * Synchronously get comment-checker path (no download). * Returns cached path or searches known locations. */ export declare function getCommentCheckerPathSync(): string | null; /** * Start background initialization. * Call this early to trigger download while other init happens. */ export declare function startBackgroundInit(): void; export type { HookInput, CheckResult }; /** * Run comment-checker CLI with given input. * @param input Hook input to check * @param cliPath Optional explicit path to CLI binary * @param customPrompt Optional custom prompt to replace default warning message */ export declare function runCommentChecker(input: HookInput, cliPath?: string, customPrompt?: string): Promise; /** * Check if CLI is available (sync check, no download). */ export declare function isCliAvailable(): boolean; /** * Check if CLI will be available (async, may trigger download). */ export declare function ensureCliAvailable(): Promise;