import type { BlockItem } from "../../block";
import { CellModel } from "../types/notebook";
export interface SerializerOptions {
    indent?: string;
    lineSeparator?: string;
    preserveUnmodified?: boolean;
}
export declare function serializeCells(cells: CellModel[], options?: SerializerOptions): string;
export declare function serializeCell(cell: CellModel, depth: number, options: SerializerOptions): string;
export declare function serializeBlockItem(item: BlockItem, depth: number, options: SerializerOptions): string;
export declare function updateCellSource(cell: CellModel, newSource: string): CellModel;
export declare function validateCellSource(source: string): {
    isValid: boolean;
    error?: string;
};
export declare function findCellSourceRange(cell: CellModel, fullSource: string): {
    start: number;
    end: number;
} | null;
