import { Literal, Quad } from "@rdfjs/types"; import { Subject } from "./dataspecAPI.js"; export declare class KBChange { constructor(); } export declare class QuadChange { readonly quad: Quad; constructor(quad: Quad); } export declare class NoChange extends KBChange { constructor(); } export declare class QuadAdded extends QuadChange { readonly quad: Quad; constructor(quad: Quad); } export declare class QuadRemoved extends QuadChange { readonly quad: Quad; constructor(quad: Quad); } export interface PropertyChange { readonly name: string; toQuadChanges(subject: Subject): Array; } export declare class PropertyAdded implements PropertyChange { readonly name: string; readonly value: Subject[] | Literal[]; constructor(name: string, value: Subject[] | Literal[]); toQuadChanges(subject: Subject): Array; } export declare class PropertyRemoved implements PropertyChange { readonly name: string; readonly value: Subject[] | Literal[]; readonly annotation?: any[] | undefined; constructor(name: string, value: Subject[] | Literal[], annotation?: any[] | undefined); toQuadChanges(subject: Subject): Array; } /** * Replace the value of a property with a new one. * The replaced property could be a multi valued * one in which case all its old values will be * removed and replaced with a n */ export declare class PropertyReplaced implements PropertyChange { readonly name: string; readonly oldvalue: Subject[] | Literal[]; readonly newvalue: Subject[] | Literal[]; readonly annotation?: any[] | undefined; constructor(name: string, oldvalue: Subject[] | Literal[], newvalue: Subject[] | Literal[], annotation?: any[] | undefined); toQuadChanges(subject: Subject): Array; }