1 | export declare type JsonldNodeObject = {
|
2 | [key: string]: JsonldListSetPrimitive;
|
3 | };
|
4 | export declare type JsonPrimitive = string | number | boolean | null | JsonldNodeObject;
|
5 | export interface JsonldValueObjectWithType {
|
6 | "@value": string | number | boolean | null;
|
7 | "@type"?: string | null;
|
8 | "@index"?: string;
|
9 | "@context"?: any;
|
10 | }
|
11 | export interface JsonldValueObjectWithLanguage {
|
12 | "@value": string | number | boolean | null;
|
13 | "@language"?: string | null;
|
14 | "@index"?: string;
|
15 | "@context"?: any;
|
16 | }
|
17 | export declare type JsonldValueObject = JsonldValueObjectWithType | JsonldValueObjectWithLanguage;
|
18 | export declare type JsonldListSetPrimitive = string | number | boolean | null | JsonldNodeObject | JsonldValueObject;
|
19 | export declare type JsonldListSetValue = JsonldListSetPrimitive | JsonldListSetPrimitive[];
|
20 | export declare function arrayify<T>(input: (T & JsonldListSetPrimitive) | (T[] & JsonldListSetPrimitive[])): T[] & JsonldListSetPrimitive[];
|
21 | export declare function isJsonldListSetPrimitive(x: any): boolean;
|
22 | export declare function getValuesLSV(input: JsonldListSetValue): JsonldListSetPrimitive[];
|
23 | export declare function intersectsLSV(x: JsonldListSetValue, y: JsonldListSetValue): boolean;
|
24 | export declare function unionLSV(...inputs: JsonldListSetValue[]): JsonldListSetPrimitive[];
|