import { Workbook } from '../core/model.js'; export type ConflictStrategy = 'left-wins' | 'right-wins' | 'error'; /** Split a sheet by row index, column index, or into N equal row chunks. */ export declare function splitByRows(workbook: Workbook, sheetName: string, at: number): [Workbook, Workbook]; export declare function splitByColumns(workbook: Workbook, sheetName: string, at: number): [Workbook, Workbook]; export declare function splitBySheet(workbook: Workbook): Workbook[]; /** * Merge multiple workbooks into one. Sheets with the same name are combined * row-wise; on cell conflicts (shouldn't normally happen with row-wise append, * but relevant for future cell-level merges) the strategy decides the winner. */ export declare function merge(workbooks: Workbook[], opts?: { onConflict?: ConflictStrategy; }): Workbook;