import type { Command } from "commander"; export type StatuslineConflictState = "absent" | "ours" | "foreign"; /** * Inspect a settings.json object and classify the existing `statusLine` entry: * - "absent": no `statusLine` field * - "ours": `statusLine.command` carries our bridge marker * - "foreign": some other statusLine is configured (or malformed) */ export declare function diagnoseStatuslineConflict(settings: Record): StatuslineConflictState; /** * Set our `statusLine` entry on a settings object. Padding is intentionally * omitted so Claude Code's default applies. `refreshInterval` is set so the * line reflects daemon-side state changes (curate, dream) that happen while * the assistant is mid-tool-call — Claude Code's event triggers don't fire * during those windows. Mutates and returns `settings`. */ export declare function setStatuslineEntry(settings: Record, command: string): Record; export declare function registerInstallStatuslineCommand(program: Command): void; export declare function isPromptCancelled(err: unknown): boolean;