block-timestamp/lib/services/utils.d.ts

5 lines
276 B
TypeScript
Raw Permalink Normal View History

2024-12-23 00:50:20 +00:00
export declare const chunk: <T>(arr: T[], size: number) => T[][];
export declare const range: (start: number, stop: number, step?: number) => number[];
export declare function sleep(ms: number): Promise<unknown>;
export declare function bytesToHex(bytes: Uint8Array): string;