export type ShellKind = 'powershell' | 'posix'; /** * The marker-delimited shim block for the given shell. `#` comments work in * both. The function falls back to the REAL claude when ccx is not on PATH, so * uninstalling ccx (without running `ccx off` first) never breaks `claude`. */ export declare function shimBlock(shell: ShellKind): string; export declare function isShimInstalled(profilePath: string): boolean; /** True when the installed shim has the falls-back-to-real-claude safety net. */ export declare function shimHasFallback(profilePath: string): boolean; /** * Install the shim block idempotently, backing up an existing profile first. * An installed but OUTDATED block (no uninstall fallback) is upgraded in place. */ export declare function installShim(profilePath: string, shell: ShellKind): 'installed' | 'already-present'; /** Remove the shim block, leaving any other profile content intact. */ export declare function uninstallShim(profilePath: string): 'removed' | 'not-present';