import type { Entity, TableDef } from "../../toolbox.js"; import type { BatchWriteItem, BatchWriteResult, IDeleteBatchItem, IPutBatchItem } from "../../utils/batch/types.js"; import type { ITableWriteBatch } from "./types.js"; export interface ITableWriteBatchParams { table: TableDef; items?: BatchWriteItem[]; } export declare class TableWriteBatch implements ITableWriteBatch { private readonly table; private readonly _items; private readonly builders; get total(): number; get items(): BatchWriteItem[]; constructor(params: ITableWriteBatchParams); put(entity: Entity, item: IPutBatchItem): void; delete(entity: Entity, item: IDeleteBatchItem): void; combine(items: BatchWriteItem[]): ITableWriteBatch; execute(): Promise; private getBuilder; } export declare const createTableWriteBatch: (params: ITableWriteBatchParams) => ITableWriteBatch;