import { Query } from "../../../types/query.js"; import { RestCommand } from "../../types.js"; //#region src/rest/commands/delete/items.d.ts /** * Delete multiple existing items. * * @param collection The collection of the items * @param keysOrQuery The primary keys or a query * * @returns Nothing * @throws Will throw if collection is empty * @throws Will throw if collection is a core collection * @throws Will throw if keysOrQuery is empty */ declare const deleteItems: >(collection: Collection, keysOrQuery: string[] | number[] | TQuery) => RestCommand; /** * Delete an existing item. * * @param collection The collection of the item * @param key The primary key of the item * * @returns Nothing * @throws Will throw if collection is empty * @throws Will throw if collection is a core collection * @throws Will throw if key is empty */ declare const deleteItem: (collection: Collection, key: string | number) => RestCommand; //#endregion export { deleteItem, deleteItems }; //# sourceMappingURL=items.d.ts.map