/** * Phase 11: Jupyter Notebook cell extractor. * * Notebooks (.ipynb) are JSON files. This module extracts all executable code * cells and concatenates them into a single virtual Python source string so the * rule engine can scan notebook content without needing format-specific rules. * * Each cell is preceded by a machine-readable comment indicating its cell index * and original source line offset so that finding line numbers remain meaningful. */ export type NotebookExtractionResult = { kind: "ok"; virtualSource: string; cellCount: number; } | { kind: "empty"; cellCount: number; } | { kind: "invalid"; }; /** * Extracts code cells from a raw .ipynb JSON string. * Returns a virtual source string suitable for the rule engine. */ export declare function extractNotebookCells(rawJson: string): NotebookExtractionResult;