export type InstallCodeBuddyHookResult = {
    settingsPath: string;
    backupPath?: string;
    command: string;
};
export type CodeBuddyDoctorReport = {
    settingsPath: string;
    status: "ok" | "warn" | "broken" | "disabled";
    issues: string[];
    fixCommand: string;
    expectedCommand: string;
    detectedCommand?: string;
    checkedPaths: string[];
    missingPaths: string[];
};
export type CodeBuddyHookCommandOptions = {
    local?: boolean;
    binaryPath?: string;
    nodePath?: string;
};
export declare function installCodeBuddyHook(settingsPath?: string, options?: CodeBuddyHookCommandOptions): Promise<InstallCodeBuddyHookResult>;
export declare function doctorCodeBuddyHook(settingsPath?: string, options?: CodeBuddyHookCommandOptions): Promise<CodeBuddyDoctorReport>;
export declare function runCodeBuddyPreToolUseHook(rawText: string, wrapLauncher?: string): Promise<number>;
