import type { RuntimeStateSource, RuntimeSnapshot, RuntimeView, RuntimeWorkspace } from './types.js'; export declare function buildRuntimeSnapshot(source: RuntimeStateSource, view?: RuntimeView): Partial; export declare function parseView(raw: unknown): RuntimeView; export declare function formatEnvironmentFragment(args: { cwd: string; sessionId?: string | null; surface?: string | null; depth?: number | null; maxDepth?: number | null; workspace?: RuntimeWorkspace | null; now?: Date; timeZone?: string; }): string; export declare function formatEnvironmentDateLine(now: Date, timeZone?: string): string;