import type { U8aLike } from '../types.js'; /** @internal */ export declare const U8A_WRAP_ETHEREUM: Uint8Array; /** @internal */ export declare const U8A_WRAP_PREFIX: Uint8Array; /** @internal */ export declare const U8A_WRAP_POSTFIX: Uint8Array; /** @internal */ export declare function u8aIsWrapped(u8a: Uint8Array, withEthereum: boolean): boolean; /** * @name u8aUnwrapBytes * @description Removes all ... wrappers from the supplied value */ export declare function u8aUnwrapBytes(bytes: U8aLike): Uint8Array; /** * @name u8aWrapBytes * @description * Adds a ... wrapper to the supplied value, if * - We don't already have a Bytes wrapper * - The message is not an Ethereum-style message */ export declare function u8aWrapBytes(bytes: U8aLike): Uint8Array;