UNPKG

@yoroi/common

Version:
26 lines (21 loc) 599 B
/** * Flowtype definitions for hex * Generated by Flowgen from a Typescript Definition * Flowgen v1.21.0 */ export interface Hex { +value: string; +bytes: Uint8Array; +utf8: string; equals(other: Hex): boolean; } declare var hex: typeof npm$namespace$hex; declare var npm$namespace$hex: {| (value: string): Hex, isHexString: typeof hex$isHexString, fromUtf8: typeof hex$fromUtf8, fromBytes: typeof hex$fromBytes, |}; declare var hex$isHexString: (str: string) => boolean; declare var hex$fromUtf8: (str: string) => Hex; declare var hex$fromBytes: (bytes: Uint8Array) => Hex;