/**
 * Canonical mode name constants + shared mutable mode state.
 *
 * Every mode name used anywhere in the codebase should reference these
 * constants instead of magic strings. This is the single source of truth.
 *
 * 0 internal imports — any layer can import from here.
 */
export declare const MODE: {
    readonly INSTALLATION: "installation";
    readonly ACTION: "action";
    readonly PLAN: "plan";
    readonly ASK: "ask";
    readonly MANAGE: "manage";
};
type ModeListener = (mode: string) => void;
/** Read the current agent mode. */
export declare function getCurrentMode(): string;
/** Set the current agent mode and notify all listeners. */
export declare function setCurrentMode(mode: string): void;
/** Subscribe to mode changes. Returns an unsubscribe function. */
export declare function onModeChange(fn: ModeListener): () => void;
export {};
//# sourceMappingURL=mode-names.d.ts.map