import { BaseError } from "../utilities/BaseError"; /** * # NodeAlreadyExistsError * * This error is thrown when trying to create a node with the same identity as an existing node. * * @category Errors */ export declare class NodeAlreadyExistsError extends BaseError { static type: string; newNode: T; oldNode: T; identity: unknown; constructor(newNode: T, oldNode: T, identity: unknown); } /** * # NodeDoesntExistError * This error is thrown when trying to access a node in a graph by it's identity when that node doesn't exist * * @category Errors */ export declare class NodeDoesntExistError extends BaseError { static type: string; identity: unknown; constructor(identity: unknown); } /** * # CycleError * * This error is thrown when attempting to create or update a Directed Acyclic Graph that contains a cycle. * * @category Errors */ export declare class CycleError extends BaseError { static type: string; constructor(message: string); } //# sourceMappingURL=errors.d.ts.map