export interface TDSignResult { code: number; sign: string; msg: string; } export interface TDBehaviorResult { code: number; payload: string; msg: string; } export interface TrustDeviceModule { initWithOptions(options: Record): Promise | void; getSDKVersion(): Promise; getBlackBox(): Promise; getBlackBoxAsync(): Promise; sign(path: string): Promise; start(): Promise; stop(): Promise; collect(): Promise; } declare const TrustDevice: TrustDeviceModule; export {TrustDevice}; export default TrustDevice;