import { Hex } from 'viem';
import { Bytes, Hexable } from '../types/bignumber.js';

type BytesLike = Uint8Array | Hex | Bytes | String;
type DataOptions = {
    allowMissingPrefix?: boolean;
    hexPad?: "left" | "right" | null;
};
declare function isBytesLikeValue(value: any): value is BytesLike;
declare function isBytes(value: any): value is Bytes;
declare function isHexString(value: any, length?: number): boolean;
declare function checkSafeUint53(value: number, message?: string): void;
declare function hexlifyValue(value: BytesLike | Hexable | number | bigint, options?: DataOptions): string;

export { type BytesLike, type DataOptions, checkSafeUint53, hexlifyValue, isBytes, isBytesLikeValue, isHexString };
