import { InternalState, ExternalState } from "./types"; export declare function toNum(x: number | BigInt): number; export declare function UTF8toStr(array: Uint8Array | number[]): string; export declare function StrtoUTF8(str: string): Uint8Array; export declare function createU128Str(lo: BigInt, hi: BigInt): string; export declare function encodeBs58(str: string): string; export declare function decodeBs58(str: string): string; export declare function encodeBs64(str: string): string; export declare function decodeBs64(str: string): string; export declare function assign(...args: T[] | Partial[]): T; export declare function decodeState(state: InternalState): ExternalState; export declare function encodeState(state: ExternalState): InternalState; export declare function stateSize(state: ExternalState): number;