/**
 * olam memory status — diagnostic dump for the agent-memory Docker container.
 *
 * Phase B substrate: queries `MemoryServiceContainerController.status()` +
 * bearer-authenticated livez probe. Output schema preserves the Phase A
 * shape — `state | livez | secret | port` — but the `state` field now
 * reports container lifecycle (`running | stopped | missing`) instead of
 * pid/alive.
 *
 * Enrichment (additive, backward-compatible): a single `docker inspect` call
 * augments the dump with container runtime metadata — `uptime` (from
 * `State.StartedAt`), `restarts` (`RestartCount`, with a crash-loop warning
 * past a threshold), and `health` (Docker `State.Health.Status`, or `none`
 * for images without a HEALTHCHECK). All new fields are display-only and
 * additive in both human + `--json` modes; existing field names/types and the
 * exit-code contract (anchored on `state` + `livez`) are unchanged.
 *
 * Plan reference: docs/plans/memory-service-as-docker-peripheral/phase-b-tasks.md B3
 */
import type { Command } from 'commander';
import { type MemoryServiceHealth } from '../memory-service-container.js';
interface MemoryStatus {
    state: 'running' | 'stopped' | 'missing';
    containerId: string | null;
    livez: 'ok' | 'unreachable' | 'unauthorized' | 'unknown';
    secretSet: boolean;
    port: number;
    legacyPidfilePresent: boolean;
    /**
     * Container runtime metadata (Phase B+ enrichment). Best-effort: `null`
     * fields mean the data was unavailable (e.g. container missing, or a parse
     * miss on `docker inspect`). These fields are display-only — they never
     * affect the exit code, which stays anchored on `state` + `livez`.
     */
    startedAt: string | null;
    restartCount: number | null;
    health: MemoryServiceHealth;
}
export declare function collectMemoryStatus(): Promise<MemoryStatus>;
export declare function runMemoryStatus(opts?: {
    json?: boolean;
}): Promise<number>;
export declare function registerMemoryStatus(cmd: Command): void;
export {};
//# sourceMappingURL=status.d.ts.map