import { Interfaces } from "@uns/ark-crypto"; import { DIDTypes } from "../models"; /** * Code from http://www.typescriptlang.org/docs/handbook/mixins.html */ export declare const applyMixins: (derivedCtor: any, baseCtors: any[]) => void; export declare const isUnikId: (username: string) => boolean; /** * UNS Certified mint helpers */ export declare const hasVoucher: (asset: Interfaces.ITransactionAsset) => boolean; export interface IUnsRewards { sender: number; foundation: number; forger: number; } export declare const getDidType: (asset: Interfaces.ITransactionAsset) => DIDTypes; export declare const getMintVoucherRewards: (asset: Interfaces.ITransactionAsset) => IUnsRewards; /** * UNS Certified update helpers */ export declare const isAliveDemand: (asset: Interfaces.ITransactionAsset) => boolean; export declare const getRewardsFromDidType: (didType: DIDTypes, height?: number) => IUnsRewards;