export type CopilotCliHookCommandOptions = {
    local?: boolean;
    binaryPath?: string;
    nodePath?: string;
};
export type InstallCopilotCliHookResult = {
    hooksPath: string;
    backupPath?: string;
    command: string;
};
export type UninstallCopilotCliHookResult = {
    hooksPath: string;
    removed: number;
    deletedFile: boolean;
};
export type CopilotCliDoctorReport = {
    hooksPath: string;
    status: "ok" | "warn" | "broken" | "disabled";
    issues: string[];
    advisories: string[];
    fixCommand: string;
    expectedCommand: string;
    detectedCommand?: string;
    checkedPaths: string[];
    missingPaths: string[];
};
export declare function getCopilotCliInstructionsSnippet(): string;
export declare function installCopilotCliHook(hooksPath?: string, options?: CopilotCliHookCommandOptions): Promise<InstallCopilotCliHookResult>;
export declare function uninstallCopilotCliHook(hooksPath?: string): Promise<UninstallCopilotCliHookResult>;
export declare function doctorCopilotCliHook(hooksPath?: string, options?: CopilotCliHookCommandOptions): Promise<CopilotCliDoctorReport>;
export declare function runCopilotCliPostToolUseHook(rawText: string): Promise<number>;
