UNPKG

@rdfine/hydra

Version:

> ## @rdfine/hydra > ### Generated JavaScript types for Hydra Core Vocabulary

17 lines (16 loc) 799 B
import { RdfResourceCore } from '@tpluscode/rdfine/RdfResource'; import type { Term } from '@rdfjs/types'; import { Constructor } from '@tpluscode/rdfine'; import { VariableRepresentation } from '../lib/VariableRepresentation.js'; interface TemplateValueMapper { mapValue(term: Term): string; } declare module '@rdfine/hydra' { interface VariableRepresentation extends TemplateValueMapper { } } export declare function VariableRepresentationExMixin<Base extends Constructor>(Resource: Base): Constructor<Partial<VariableRepresentation> & RdfResourceCore> & Base; export declare namespace VariableRepresentationExMixin { var appliesTo: import("@rdfjs/types").NamedNode<string> & import("@rdfjs/types").NamedNode<"http://www.w3.org/ns/hydra/core#VariableRepresentation">; } export {};