/**
 * `olam flywheel install-shims` — write backwards-compat shims to ~/.claude/scripts/.
 *
 * Generates a bash shim per spec in SHIM_SPECS and writes it to
 * ~/.claude/scripts/<basename>. Detects existing non-shim files (operator's
 * own scripts or atlas-toolbox-shipped originals) and prompts/backs-up
 * before overwriting. Idempotent — re-runs produce no diff when content
 * matches.
 *
 * Replaces the A1 stub.
 *
 * Plan reference: docs/plans/olam-flywheel-cli-namespace/phase-a-tasks.md § A14
 * Closes part of K1 OQ20 (correct hook-point for shim installation).
 */
import type { Command } from 'commander';
export interface InstallShimsOptions {
    force?: boolean;
    dryRun?: boolean;
    targetDir?: string;
}
export interface ShimInstallStatus {
    basename: string;
    action: 'written' | 'overwritten' | 'unchanged' | 'preserved-existing';
    targetPath: string;
    backupPath?: string;
}
export interface RefreshShimsResult {
    results: ShimInstallStatus[];
    written: number;
    overwritten: number;
    unchanged: number;
    preserved: number;
}
/**
 * Programmatic API for refreshing all shims. Used by:
 *   - `olam flywheel install-shims` CLI action (this file).
 *   - `olam skills source pull` post-step (B2 hook point).
 */
export declare function refreshShims(opts?: InstallShimsOptions): RefreshShimsResult;
export declare function registerFlywheelInstallShims(parent: Command): void;
//# sourceMappingURL=install-shims.d.ts.map