export interface ExtractedBlock { /** Language the block should be parsed as (`typescript`, `python`, …). */ language: string; /** Source code without the wrapping syntax. */ source: string; /** 1-indexed start line inside the original file. */ startLine: number; /** 1-indexed end line inside the original file. */ endLine: number; /** Optional provenance hint, e.g. `script[lang=ts]` or `cell[3]`. */ origin: string; } /** * Extracts every `code`-typed cell from a Jupyter notebook. Cells are * concatenated with preserved inter-cell gaps so that code inside each * cell keeps its original line offsets. */ export declare function extractJupyterCells(raw: string, filename?: string): ExtractedBlock[]; /** * Extracts `