import { Stdlib_Backend_Base } from './interfaces'; import { MkPayAmt } from './shared_impl'; import { ethers } from 'ethers'; import { CBR_Null, CBR_Bool, CBR_UInt, CBR_Bytes, CBR_Address, CBR_Digest, CBR_Object, CBR_Data, CBR_Array, CBR_Tuple, CBR_Struct, CBR_Val, BackendTy } from './CBR'; declare type BigNumber = ethers.BigNumber; declare const BigNumber: typeof ethers.BigNumber; export declare const UInt_max: BigNumber; export declare type NV = Uint8Array; export interface ALGO_Ty extends BackendTy { netSize: number; toNet(bv: BV): NV; fromNet(nv: NV): BV; netName: string; } export declare const digest: (t: any, v: any) => string; export declare const T_Null: ALGO_Ty; export declare const T_Bool: ALGO_Ty; export declare const T_UInt: ALGO_Ty; export declare const T_UInt256: ALGO_Ty; /** @description For hex strings representing bytes */ export declare const bytestringyNet: (len: number) => { netSize: number; netName: string; toNet: (bv: string) => NV; fromNet: (nv: NV) => string; }; export declare const T_Bytes: (len: number) => ALGO_Ty; export declare const T_Digest: ALGO_Ty; export declare const addressToHex: (x: string) => string; export declare const addressFromHex: (hexAddr: string) => string; export declare const extractAddr: (x: any) => string; export declare const T_Address: ALGO_Ty; export declare const T_Contract: ALGO_Ty; export declare const T_Array: (co: ALGO_Ty, size_u: unknown) => ALGO_Ty; export declare const T_Tuple: (cos: Array>) => ALGO_Ty; export declare const T_Struct: (cos: Array<[string, ALGO_Ty]>) => ALGO_Ty; export declare const T_Object: (coMap: { [key: string]: ALGO_Ty; }) => ALGO_Ty; export declare const T_Data: (coMap: { [key: string]: ALGO_Ty; }) => ALGO_Ty; export declare const addressEq: (x: any, y: any) => boolean; export declare const digestEq: (x: any, y: any) => boolean; export declare const digest_xor: (xd: string, yd: string) => string; export declare const bytes_xor: (x: string, y: string) => string; export declare const btoiLast8: (b: string) => ethers.BigNumber; export declare type Token = CBR_UInt; export declare type Contract = CBR_UInt; export declare const ctcAddrEq: (x: unknown, y: unknown) => boolean; export declare const tokenEq: (x: unknown, y: unknown) => boolean; export declare type PayAmt = MkPayAmt; export declare const typeDefs: { T_Null: ALGO_Ty; T_Bool: ALGO_Ty; T_UInt: ALGO_Ty; T_UInt256: ALGO_Ty; T_Bytes: (len: number) => ALGO_Ty; T_Address: ALGO_Ty; T_Contract: ALGO_Ty; T_Digest: ALGO_Ty; T_Token: ALGO_Ty; T_Object: (coMap: { [key: string]: ALGO_Ty; }) => ALGO_Ty; T_Data: (coMap: { [key: string]: ALGO_Ty; }) => ALGO_Ty; T_Array: (co: ALGO_Ty, size_u: unknown) => ALGO_Ty; T_Tuple: (cos: Array>) => ALGO_Ty; T_Struct: (cos: Array<[string, ALGO_Ty]>) => ALGO_Ty; }; export declare const emptyContractInfo = 0; export declare const stdlib: Stdlib_Backend_Base>; export {}; //# sourceMappingURL=ALGO_compiled.d.ts.map