UNPKG

@yidun/livedetect-sdk-h5

Version:

活体检测 H5

14 lines (13 loc) 449 B
import type { WarnType } from '@Src/main/types'; import NELiveDetection from '@Src/main/live-detection'; import { DomNode } from '@Src/main/utils/domNode'; export declare class Tip extends DomNode { private readonly neLiveDetection; code: string; text: string | null; constructor(container: HTMLElement, neLiveDetection: NELiveDetection); updateTip({ code, type }: { code: string; type: WarnType; }): void; }