export declare function assertHexDecimal(str: string, byteLength?: number): void; /** * Assert if a string is a valid hex string that is matched with /^0x([0-9a-fA-F][0-9a-fA-F])*$/ * @param str * @param byteLength */ export declare function assertHexString(str: string, byteLength?: number): void; export declare function assertUtf8String(str: string): void; export declare function assertBufferLength(buf: { byteLength: number; }, length: number): void; export declare function assertMinBufferLength(buf: { byteLength: number; }, length: number): void; export declare function isObjectLike(x: unknown): x is Record; export declare function trackCodeExecuteError(path: string | number | symbol, fn: () => T): T; //# sourceMappingURL=utils.d.ts.map