export declare const GIT_HOOKS_DIR_RELATIVE = ".workspace-kit/git-hooks";
export declare const GIT_POLICY_APPROVAL_RELATIVE = ".workspace-kit/policy/git-destructive-approval.json";
/** Re-exported for hook installers; see task-store-git-commit-policy.ts */
export { TASK_STORE_COMMIT_APPROVAL_RELATIVE } from "./task-store-git-commit-policy.js";
export declare function isProtectedRef(ref: string): boolean;
export declare function hasGitDestructiveApproval(workspacePath: string): boolean;
/** Shared shell helpers for post-merge / post-rewrite task-state hydrate (exported for tests). */
export declare function taskStateGitSyncHookHelpers(): string;
export type GitHooksInstallResult = {
    hooksDir: string;
    hooksPathConfig: string;
    installed: string[];
};
export declare function installGitPolicyHooks(workspacePath: string): GitHooksInstallResult;
export declare function uninstallGitPolicyHooks(workspacePath: string): {
    removed: string[];
};
export declare function readGitHooksPathFromRepo(workspacePath: string): string | null;
export declare function setGitHooksPath(workspacePath: string, hooksPath: string | null): void;
