1 | import { Term } from "./term";
|
2 | export declare function isBlankNodeLike<Value extends string = string>(given: unknown, value?: Value): given is BlankNodeLike<Value>;
|
3 | export declare function isBlankNode<Value extends string = string>(given: unknown, value?: Value): given is BlankNode;
|
4 | export interface BlankNode<Value extends string = string> extends Term<"BlankNode", Value> {
|
5 | equals(other: unknown): other is BlankNodeLike<Value>;
|
6 | }
|
7 | export declare class BlankNode<Value extends string = string> extends Term<"BlankNode", Value> implements BlankNode<Value> {
|
8 | constructor(value: Value);
|
9 | }
|
10 | export declare type BlankNodeLike<Value extends string = string> = Pick<BlankNode<Value>, "termType" | "value">;
|