import { type TokenjuiceHookCommandOptions } from "../shared/host-command.js";
export type OpenHandsHookCommandOptions = TokenjuiceHookCommandOptions & {
    projectDir?: string;
};
export type InstallOpenHandsHookResult = {
    hooksPath: string;
    backupPath?: string;
    command: string;
};
export type UninstallOpenHandsHookResult = {
    hooksPath: string;
    removed: number;
};
export type OpenHandsDoctorReport = {
    hooksPath: string;
    status: "ok" | "warn" | "broken" | "disabled";
    issues: string[];
    advisories: string[];
    fixCommand: string;
    expectedCommand: string;
    detectedCommand?: string;
    checkedPaths: string[];
    missingPaths: string[];
};
export declare function installOpenHandsHook(hooksPath?: string, options?: OpenHandsHookCommandOptions): Promise<InstallOpenHandsHookResult>;
export declare function uninstallOpenHandsHook(hooksPath?: string): Promise<UninstallOpenHandsHookResult>;
export declare function doctorOpenHandsHook(hooksPath?: string, options?: OpenHandsHookCommandOptions): Promise<OpenHandsDoctorReport>;
export declare function runOpenHandsPostToolUseHook(rawText: string): Promise<number>;
