import type { OnCommitHookResult, OnCommitContext } from '../../../types/file-hooks.js';
/**
 * Install a Planu post-commit git hook.
 * If a hook already exists, appends the Planu section.
 */
export declare function installGitHook(projectPath: string): Promise<{
    installed: boolean;
    path: string;
}>;
/**
 * Uninstall the Planu post-commit hook section.
 * Removes only the Planu-marked section, preserving other hooks.
 */
export declare function uninstallGitHook(projectPath: string): Promise<{
    uninstalled: boolean;
    path: string;
}>;
/**
 * Handle on-commit event.
 * - Gets committed files
 * - Runs spec integrity check
 * - Identifies specs that may need reconciliation
 * - Non-blocking, async
 */
export declare function handleOnCommit(ctx: OnCommitContext): Promise<OnCommitHookResult>;
//# sourceMappingURL=on-commit.d.ts.map