import { Schema } from 'effect'; import { Hex } from 'viem'; export declare const HexString: Schema.TemplateLiteral<`0x${string}`>; export type HexString = typeof HexString.Type; export type BytesIsh = string | Uint8Array; export declare function bytesToBigInt(byteArray: Uint8Array): bigint; export declare function bufferToBigInt(buffer: Buffer): bigint; export declare function bigintToBytes(value: bigint): Buffer; export declare function bigintToBytes32(value: bigint): Bytes32; export declare function padLeft(bs: Uint8Array, n: number): Buffer; export declare function bytes32ToBigint(bs: BytesIsh): bigint; export declare function bytesFromHexString(hexString: string): Buffer; export declare function mustBeHex(value: string): Hex; export declare function normaliseToHex(value: string): Hex; export declare function bytesToHex(bs: Uint8Array): Hex; export declare const Bytes32: Schema.brand, Schema.Schema>]>, Schema.TemplateLiteral<`0x${string}`>, never>>, "Bytes32">; export declare function asBytes32(x: BytesIsh): Bytes32; export type Bytes32 = typeof Bytes32.Type; export type Address = typeof Address.Type; export declare const Address: Schema.brand>, "Address">; export declare function parseAddress(address: string): Address; export declare function parseHex(hex: string): HexString;