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.

4 lines (3 loc) 299 B
import type { DetectionMatch, PidDetectionConfig, ReplacementRecord } from './types'; export declare function replaceMatches(textNode: Text, matches: DetectionMatch[], config: PidDetectionConfig): ReplacementRecord[]; export declare function restoreOriginalText(records: ReplacementRecord[]): void;