export interface ToolchainInfo {
    pm: "npm" | "bun" | "pnpm" | "yarn";
    testCmd: string;
    coverageCmd: string;
    lintCmd: string;
}
export interface HookConfig {
    coverageThreshold: number;
    tddMode: "strict" | "advisory";
    qualityGateStrict: boolean;
}
/**
 * Detect package manager from lockfiles and package.json scripts.
 * Priority: bun.lockb/bun.lock > pnpm-lock.yaml > yarn.lock > package-lock.json > fallback npm
 */
export declare function detectToolchain(cwd: string): ToolchainInfo;
/**
 * Read hook configuration from .planning/config.json hooks section.
 * Falls back to defaults on missing file or parse errors.
 */
export declare function readHookConfig(cwd: string): HookConfig;
//# sourceMappingURL=hook-utils.d.ts.map