export type EcosystemMode = 'sandbox' | 'live'; export type EcosystemItemKind = 'node' | 'data' | 'module' | 'evidence'; export type EcosystemShape = 'circle' | 'triangle' | 'square' | 'diamond'; export type EcosystemAction = { type: 'create-test-data'; schema: 'OMM' | 'DPM' | 'PNM' | 'EPM' | 'ENC' | 'PLG' | 'CHN'; } | { type: 'subscribe-channel'; sourceId: string; standardCode: string; } | { type: 'pin-product'; targetId: string; } | { type: 'create-module-listing'; name: string; moduleId: string; inputSchema: string; outputSchema: string; } | { type: 'simulate-module-invocation'; moduleId: string; } | { type: 'set-mode'; mode: EcosystemMode; } | { type: 'select-item'; itemId: string; }; export interface EcosystemItem { id: string; kind: EcosystemItemKind; shape: EcosystemShape; title: string; description: string; status?: string; } export interface EcosystemEdge { id: string; from: string; to: string; label: string; style: 'solid' | 'dashed'; } export interface EcosystemEvent { type: 'data-created' | 'channel-subscribed' | 'artifact-pinned' | 'module-listed' | 'module-invoked' | 'live-mode-requested' | 'item-selected'; title: string; detail: string; } export interface EcosystemState { mode: EcosystemMode; selectedItemId: string; items: EcosystemItem[]; edges: EcosystemEdge[]; events: EcosystemEvent[]; live: { explicitlyRequested: boolean; connections: Array<{ id: string; label: string; status: 'unavailable' | 'connected'; detail: string; }>; }; pins: Array<{ targetId: string; durable: boolean; label: string; }>; subscriptions: Array<{ sourceId: string; standardCode: string; topic: string; }>; moduleListings: Array<{ name: string; moduleId: string; inputSchema: string; outputSchema: string; signed: boolean; }>; invocations: Array<{ moduleId: string; inputSchema: string; outputSchema: string; status: 'simulated'; }>; } export declare const ecosystemShapeLegend: ({ shape: "circle"; label: string; description: string; } | { shape: "triangle"; label: string; description: string; } | { shape: "square"; label: string; description: string; } | { shape: "diamond"; label: string; description: string; })[]; export declare function createInitialEcosystemState(): EcosystemState; export declare function runEcosystemAction(state: EcosystemState, action: EcosystemAction): EcosystemState; export declare function selectEcosystemItem(state: EcosystemState, selectedItemId: string): EcosystemState; //# sourceMappingURL=model.d.ts.map