import type { FirstTimeHooksInstallOutcome, ResolveFirstTimeHooksInstallOptions } from './init-options.js'; /** * Resolve the first-time "install peaks hooks" decision for this project. * Decision tree: * * 1. Read the sticky marker. * - Marker present: * - marker.decision === 'installed' AND hooks are present → action: marker-honored, no side effects * - marker.decision === 'installed' AND hooks are MISSING → re-install, action: reinstalled * - marker.decision === 'skipped' → action: marker-honored, no install * - Marker absent: * - hooks already present → write a fresh 'installed' marker, action: already-installed * - otherwise: * - explicit --install-hooks=auto → install + marker, action: first-decision * - explicit --install-hooks=skip → marker only, action: first-decision * - explicit --install-hooks=ask OR default in TTY: * - jsonMode → silently auto-install (LLM cannot answer), action: first-decision * - TTY → prompt; on yes install + marker, on no marker-only * - default in non-TTY → auto-install, action: first-decision * * Project scope is the only supported scope here; global scope is reserved * for explicit `peaks hooks install --global` invocations. */ export declare function resolveFirstTimeHooksInstall(options: ResolveFirstTimeHooksInstallOptions): Promise;