UNPKG

@nativescript/core

Version:

A JavaScript library providing an easy to use api for interacting with iOS and Android platform APIs.

9 lines (8 loc) 538 B
import { SubtleCrypto } from './SubtleCrypto'; type TypedArray = Int8Array | Uint8Array | Uint8ClampedArray | Int16Array | Uint16Array | Int32Array | Uint32Array | BigInt64Array | BigUint64Array | Float32Array | Float64Array; export declare class Crypto { get subtle(): SubtleCrypto; randomUUID(): any; getRandomValues(typedArray: Exclude<TypedArray, Float32Array | Float64Array>): Uint8Array | Uint8ClampedArray | Int8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | BigInt64Array | BigUint64Array; } export {};