UNPKG

@kit-data-manager/pid-component

Version:

The PID-Component is a web component that can be used to evaluate and display FAIR Digital Objects, PIDs, ORCiDs, and possibly other identifiers in a user-friendly way. It is easily extensible to support other identifier types.

15 lines (14 loc) 587 B
import { GenericIdentifierType } from './GenericIdentifierType'; export declare class Parser { static getEstimatedPriority(value: string): Promise<number>; static getBestFitQuick(value: string, orderedRendererKeys?: string[]): string | null; static getBestFit(value: string, settings: { type: string; values: { name: string; value: unknown; }[]; }[], orderedRendererKeys?: string[], fallbackToAll?: boolean): Promise<GenericIdentifierType | null>; private static calculateRelevance; private static applySettings; }