/** Parse CSV/TSV, honoring quoted fields (embedded delimiter/newline/escaped quote); * `maxRows` stops early so a big file isn't walked in full for a preview. */ export declare function parseDelimited(text: string, delimiter: string, maxRows?: number): string[][]; export interface NotebookOutput { output_type: string; text?: string | string[]; data?: Record; ename?: string; evalue?: string; traceback?: string[]; } interface NotebookCell { cell_type: string; source: string | string[]; outputs?: NotebookOutput[]; execution_count?: number | null; } export interface ParsedNotebook { cells: NotebookCell[]; } export declare function parseNotebook(text: string): ParsedNotebook | null; /** nbformat `source`/`text` is a string or an array of lines; normalize to one string. */ export declare function joinSource(source: unknown): string; export declare function stripAnsi(text: string): string; export {};