import { Shape } from '../shapes/Shape.js';
import { AddId, NodeDescriptionValue, UpdatePartial } from './QueryFactory.js';
import { NodeShape } from '../shapes/SHACL.js';
import { MutationQueryFactory } from './MutationQuery.js';
export type UpdateQuery<ResponseType = null> = {
    type: 'update';
    id: string;
    shape: NodeShape;
    updates: NodeDescriptionValue;
};
export declare class UpdateQueryFactory<ShapeType extends Shape, U extends UpdatePartial<ShapeType>> extends MutationQueryFactory {
    shapeClass: typeof Shape;
    readonly id: string;
    readonly fields: NodeDescriptionValue;
    constructor(shapeClass: typeof Shape, id: string | {
        id: string;
    } | {
        uri: string;
    }, updateObjectOrFn: U);
    getQueryObject(): UpdateQuery<AddId<U>>;
}
