/**
 * Pure REST handler for `GET /api/settings` and `PUT /api/settings`.
 *
 * Settings are stored in the machine's global `settings.json` under the
 * `"observational-memory"` namespace (see `src/memory/config.ts`).
 *
 * GET  /api/settings                        → returns full observational-memory config
 * PUT  /api/settings                        → updates a single key via `{ key, value }` body
 *
 * All paths are machine-level — no session context needed.
 */
export interface PutSettingsInput {
    key?: unknown;
    value?: unknown;
}
export interface PutSettingsOutput {
    ok: true;
    key: string;
    value: number;
}
export interface GetSettingsOutput {
    observationThresholdTokens: number;
    compactionThresholdTokens: number;
    reflectionThresholdTokens: number;
    passive: boolean;
    debugLog: boolean;
}
export declare function handleGetSettings(cwd: string): GetSettingsOutput;
export declare function handlePutSettings(cwd: string, body: PutSettingsInput): PutSettingsOutput;
//# sourceMappingURL=settings.d.ts.map