2025-04-19 15:38:48 +08:00

21 lines
648 B
TypeScript

/**
* Throws if a string is not hex prefixed
* @param {string} input string to check hex prefix of
*/
export declare const assertIsHexString: (input: string) => void;
/**
* Throws if input is not a buffer
* @param {Buffer} input value to check
*/
export declare const assertIsBytes: (input: Uint8Array) => void;
/**
* Throws if input is not an array
* @param {number[]} input value to check
*/
export declare const assertIsArray: (input: number[]) => void;
/**
* Throws if input is not a string
* @param {string} input value to check
*/
export declare const assertIsString: (input: string) => void;
//# sourceMappingURL=helpers.d.ts.map