import { Workbook } from '../core/model.js'; export interface ImportWarning { message: string; row?: number; col?: number; } export interface ImportResult { workbook: Workbook | null; warnings: ImportWarning[]; } export declare function decodeCsv(text: string, opts?: { delimiter?: string; sheetName?: string; locale?: string; maxInputBytes?: number; maxRows?: number; }): ImportResult; export declare function encodeCsv(workbook: Workbook, opts?: { sheetName?: string; delimiter?: string; }): string;