import { Shape } from '../shapes/Shape.js'; import { NodeShape } from '../shapes/SHACL.js'; import { LinkedQuery } from './SelectQuery.js'; import { NodeReferenceValue, UpdatePartial } from './QueryFactory.js'; import { MutationQueryFactory, NodeId } from './MutationQuery.js'; export interface DeleteQuery extends LinkedQuery { type: 'delete'; shape: NodeShape; ids: NodeReferenceValue[]; } export type DeleteResponse = { /** * The IDs of the items that were successfully deleted. */ deleted: NodeReferenceValue[]; /** * The number of successfully deleted items. */ count: number; /** * The IDs of the items that couldn't be deleted. */ failed?: NodeReferenceValue[]; /** * A mapping of IDs to error messages for the items that couldn't be deleted. */ errors?: Record; }; export declare class DeleteQueryFactory> extends MutationQueryFactory { shapeClass: typeof Shape; readonly id: string; readonly ids: NodeReferenceValue[]; constructor(shapeClass: typeof Shape, ids: NodeId[] | NodeId); getQueryObject(): DeleteQuery; }