velocid
Version:
Revolutionary high-performance distributed ID generator with military-grade security
24 lines • 712 B
TypeScript
import { PlatformInfo } from '../types';
/**
* Platform detection and capability checking
*/
export declare class PlatformDetector {
private static _info;
/**
* Get platform information
*/
static getInfo(): PlatformInfo;
private static detectPlatformType;
private static hasCryptoSupport;
private static hasSharedArrayBufferSupport;
private static getHardwareConcurrency;
}
/**
* Get secure random bytes using platform-appropriate method
*/
export declare function getSecureRandomBytes(length: number): Uint8Array;
/**
* Get stable node identifiers for NodeID generation
*/
export declare function getNodeIdentifiers(): string[];
//# sourceMappingURL=platform.d.ts.map