import { MccLoggingOptions, MccLoggingOptionsFull } from "../types/genericMccTypes"; export declare const ZERO_BYTES_32 = "0x0000000000000000000000000000000000000000000000000000000000000000"; export declare function MccError(error: any): Error; export declare function getSimpleRandom(maxnum: number): number; export declare function sleepMs(ms: number): Promise; export declare function unPrefix0x(tx: string): string; export declare function prefix0x(tx: string): string; export declare function isPrefixed0x(tx: string): boolean; export declare function toHex(x: string | number): string; export declare function hexToBytes(hex: string): Uint8Array; export declare function toHex32Bytes(x: string | number): string; export declare function isValidBytes32Hex(address: string): boolean; export declare function isValidBytes32HexPrefix(address: string): boolean; export declare function isValidHexString(maybeHexString: string): boolean; export declare function bytesAsHexToString(bytesString: string): string; export declare function mccJsonStringify(toStringify: any): any; export declare function defaultLoggingCallback(message: string): void; export declare function defaultWarningCallback(message: string): void; export declare function defaultExceptionCallback(error: any, message: string): void; export declare function defaultMccLoggingObject(): MccLoggingOptionsFull; export declare function fillWithDefault(partialMccLogging: MccLoggingOptions): MccLoggingOptionsFull; export declare function standardAddressHash(address: string): string; //# sourceMappingURL=utils.d.ts.map