/**
 * olam list — List all active worlds.
 */
import type { Command } from 'commander';
/** Lifecycle statuses accepted by `--status`. Mirrors WorldLifecycleStatus. */
declare const VALID_STATUSES: readonly ["creating", "running", "paused", "crystallizing", "destroyed", "error"];
type ValidStatus = (typeof VALID_STATUSES)[number];
/** Minimal world shape this command renders. Structurally compatible with WorldMetadata. */
interface ListableWorld {
    readonly id: string;
    readonly name: string;
    readonly status: string;
    readonly repos: readonly string[];
    readonly totalCostUsd: number;
    readonly createdAt: string;
}
export interface ListOptions {
    readonly json?: boolean;
}
/**
 * Pure renderer for `olam list`. Returns the lines to print so the
 * formatting + JSON contract is unit-testable without touching the
 * world registry or process I/O.
 */
export declare function renderWorldList(worlds: readonly ListableWorld[], opts?: ListOptions): string;
/** Normalise + validate a `--status` value. Returns null when unset. */
export declare function parseStatusFilter(raw: string | undefined): {
    status: ValidStatus | null;
    error?: string;
};
export declare function registerList(program: Command): void;
export {};
//# sourceMappingURL=list.d.ts.map