/**
 * CLI context — mirrors the MCP server's OlamContext initialization.
 *
 * Loads config, creates WorldManager, CostTracker, and compute provider.
 * Returns undefined with an error if Olam is not configured.
 */
import type { WorldManager } from '@olam/core/src/world/manager.js';
import type { CostTracker } from '@olam/core/src/cost/tracker.js';
import type { OlamConfig } from '@olam/core/src/config/schema.js';
import type { ComputeProvider } from '@olam/adapters';
import type { DashboardManager } from '@olam/core/src/dashboard/index.js';
import type { PleriClient } from '@olam/core/src/pleri/index.js';
export interface CliContext {
    readonly worldManager: WorldManager;
    readonly costTracker: CostTracker;
    readonly computeProvider: ComputeProvider;
    readonly config: OlamConfig;
    readonly dashboardManager: DashboardManager;
    readonly pleriClient?: PleriClient;
}
export interface ContextResult {
    readonly ctx?: CliContext;
    readonly error?: Error;
}
export declare function loadContext(): Promise<ContextResult>;
//# sourceMappingURL=context.d.ts.map